MCPcopy Create free account
hub / github.com/wal-e/wal-e / get_log_destinations

Function get_log_destinations

wal_e/log_help.py:111–115  ·  view source on GitHub ↗

Parse env string

()

Source from the content-addressed store, hash-verified

109
110
111def get_log_destinations():
112 """Parse env string"""
113 # if env var is not set default to stderr + syslog
114 env = os.getenv('WALE_LOG_DESTINATION', 'stderr,syslog')
115 return env.split(",")
116
117
118def get_syslog_facility():

Callers 1

configureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected