Skip to content

codefresh-io/cf-container-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

56d7c08 · Oct 22, 2022

History

97 Commits
Dec 23, 2021
Dec 5, 2016
Jun 20, 2021
Apr 12, 2017
Dec 5, 2016
Mar 7, 2021
Dec 13, 2020
Jul 12, 2022
Jul 12, 2022
Apr 10, 2022
Jan 27, 2020
Jan 23, 2020
Apr 22, 2020
Mar 7, 2021
Aug 31, 2022
Oct 21, 2022
Jul 12, 2022

Repository files navigation

cf-container-logger

required environment variables:

# FIREBASE_AUTH_URL - the main firebase ref to authenticate on initialization
# FIREBASE_SECRET - the secret key to write to the firebase auth url and all future derived urls
# LOGGER_ID - logger id. if a container will include this id in its label, we will log it
# LOG_TO_CONSOLE - by default, logging to console is disabled and only logging to a file is enabled. set this env to log to console to
# LISTEN_ON_EXISTING - by default, if not provided, will only listen for new containers. this will enable listening on existing containers

Container labels

# logging strategies
    # io.codefresh.loggerStrategy
        # logs - will get all container logs from the beginning
        # attach - will get all container logs from the point where attach was enabled. usefull for getting all interactive i/o