Hi Jim

Their was a confusion in the code and in the documentation about the 
real verbose level. Thanks for your feedback this is now corrected. As 
you found out the real level are from 0 to 4 and the default is Full.

The next version of metro will have the following level.
0- No log 
1- Minimal level
2- Normal (default)
3- Full
4- Debug

Thanks you very much for your help.
François


Jim Cowie wrote:
> Hi,
>
> The verbosity level of log messages does not seem to match the man page. 
> Perhaps the levels are really 0-4 rather than 1-5. Also, when run without the 
> --verbose-level flag, the default level appears to be "Full" rather than 
> "Normal".
>
>
>
> From the man page:
>
>
>        --verbose-level level
>               Select the verbose level of the logged messages of metro.
>               1- No log is made of any message
>               2- Minimal level
>               3- Normal (default)
>               4- Full
>               5- Debug
>
>
> And when I run it:
>
>
> ============================================
> METRo version   : 3.2.1 (2008-10-17)
> METRo started   : Thu Jan 22 19:20:18 2009 UTC
> command line    : /home/dicast/metro/usr/bin/metro --input-forecast 
> met.3.99.xml --input-station
> station.3.99.xml --input-observation obs.3.99.xml --output-roadcast 
> roadcast.003.99.xml --log-fil
> e /d2/dicast/rctm/log/metro_log.20090122.asc --verbose-level 3
> logger verbosity: Full
>
> ============================================
>
>
> ============================================
> METRo version   : 3.2.1 (2008-10-17)
> METRo started   : Thu Jan 22 19:24:58 2009 UTC
> command line    : /home/dicast/metro/usr/bin/metro --input-forecast 
> met.88.99.xml --input-station
>  station.88.99.xml --input-observation obs.88.99.xml --output-roadcast 
> roadcast.088.99.xml --log-
> file /d2/dicast/rctm/log/metro_log.20090122.asc --verbose-level 2
> logger verbosity: Normal
>
> ============================================
>
>
>
> And without --verbose-level:
>
>
> ============================================
> METRo version   : 3.2.1 (2008-10-17)
> METRo started   : Thu Jan 22 19:00:09 2009 UTC
> command line    : /home/dicast/metro/usr/bin/metro --input-forecast 
> met.0.99.xml --input-station
> station.0.99.xml --input-observation obs.0.99.xml --output-roadcast 
> roadcast.000.99.xml --log-fil
> e /d2/dicast/rctm/log/metro_log.20090122.asc
> logger verbosity: Full
>
> ============================================
>
>
>
>   

_______________________________________________
METRo-developers mailing list
[email protected]
https://mail.gna.org/listinfo/metro-developers

Reply via email to