Skip to content

codefresh-io/cf-container-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e017138 · Apr 25, 2024
Mar 13, 2024
Feb 13, 2023
Dec 5, 2016
Feb 13, 2023
Apr 12, 2017
Dec 5, 2016
Mar 7, 2021
Jan 10, 2023
Oct 22, 2023
Oct 22, 2023
May 25, 2023
Jan 27, 2020
Mar 7, 2021
Apr 3, 2024
Apr 24, 2024
Apr 3, 2024

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