Changeset f3b78e8 in ammosreader for README.md


Ignore:
Timestamp:
05/21/23 08:00:18 (2 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
d2736bb
Parents:
7752d1f
Message:

AMMOS_LOG_LEVEL added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r7752d1f rf3b78e8  
    5656```
    5757
     58## Log-File
     59
    5860The name of the logfile is ammos.log The logger uses the directory
    5961stored in the AMMOS_LOG_DIR environment variable. If this variable is
    60 not set, /tmp is used as default. If the logfile is not writable, the
    61 standard logger config is used and the logs go directly to console
    62 (tty). (see ammos_logging.conf file in this repository)
     62not set, /tmp is used as default. This might change to *var/log* in
     63future versions running under GUIX system. If the logfile is not
     64writable, the standard logger config is used and the logs go directly to
     65console (tty). (see ammos_logging.conf file in this repository)
     66
     67## Log-Level
     68
     69You can change the log-Level by setting the environment variable
     70AMMOS_LOG_LEVEL. To turn off logging completely set the level to
     71'CRITICAL'
     72
     73``` shell
     74export AMMOS_LOG_LEVEL=CRITICAL
     75```
     76
     77If the environment variable does not exist, the logging level from
     78ammos_logging.conf is used.
Note: See TracChangeset for help on using the changeset viewer.