mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-22 07:47:48 +00:00
20 lines
1.9 KiB
Plaintext
20 lines
1.9 KiB
Plaintext
ACCPTST:STDIO_REPLACE_DATETIMES
|
||
{datetime} UTC [35m[ debug][0m cli arg arg_f = () -> {tmpdir}/x
|
||
{datetime} UTC [32m[ info][0m __file: {root}/main.sh
|
||
{datetime} UTC [32m[ info][0m __dir: {root}
|
||
{datetime} UTC [32m[ info][0m __base: main
|
||
{datetime} UTC [32m[ info][0m __os: {os}
|
||
{datetime} UTC [32m[ info][0m arg_f: {tmpdir}/x
|
||
{datetime} UTC [32m[ info][0m arg_d: 0
|
||
{datetime} UTC [32m[ info][0m arg_v: 0
|
||
{datetime} UTC [32m[ info][0m arg_h: 0
|
||
{datetime} UTC [35m[ debug][0m Info useful to developers for debugging the application, not useful during operations.
|
||
{datetime} UTC [32m[ info][0m Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required.
|
||
{datetime} UTC [34m[ notice][0m Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required.
|
||
{datetime} UTC [33m[ warning][0m Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. This is a debug message
|
||
{datetime} UTC [31m[ error][0m Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time.
|
||
{datetime} UTC [1;31m[ critical][0m Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection.
|
||
{datetime} UTC [1;33;41m[ alert][0m Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection.
|
||
{datetime} UTC [1;4;5;33;41m[emergency][0m A "panic" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call.
|
||
{datetime} UTC [32m[ info][0m Cleaning up. Done
|