diff --git a/lib/SLUB/LZA/Rosetta/TA/Command/log.pm b/lib/SLUB/LZA/Rosetta/TA/Command/log.pm index df68b3bbee15b4a9f06303aa3f48ea905d319668..4a473c35fd0babc6af76197922155952d248841f 100644 --- a/lib/SLUB/LZA/Rosetta/TA/Command/log.pm +++ b/lib/SLUB/LZA/Rosetta/TA/Command/log.pm @@ -19,9 +19,9 @@ Examples: * What are the error messages in last 24 hours? $0 log --level error --last-24h * What are error and warning messages between 2022-01-01 and 2022-02-01? - $0 log --level error --level warning --fromdate 2022-ß1-01 --todate 2021-02-ß1 - * Are there lines with regex "match"? - $0 log --match "match" + $0 log --level error --level warning --fromdate 2022-01-01 --todate 2021-02-01 + * Are there lines with regex "ma[tc]?h"? + $0 log --match "ma[tc]?h" DESCR sub description { @@ -38,7 +38,7 @@ sub opt_spec { ["last-24h" => "search within last 24h"], ["fromdate=s" => "search starting with date"], ["todate=s" => "search ending with date"], - ["level=s@" => "levels to search for. Levels could be: 'error', 'warn', 'info', debug. You could use multiple levels by repeating"], + ["level=s@" => "levels to search for. Levels could be: 'error', 'warn', 'info', 'debug'. You could use multiple levels by repeating"], ["match=s" => "perl regex to search for" => {default=>".*"}], ); }