Difference between revisions of "Keyword:LOGLEVEL"

From FISPACT-II Wiki
Jump to: navigation, search
(Created page with " {{big|'''LOGLEVEL''' ''level {2}''}} ---- The error logging module in FISPACT-II provides error messages identifying the point in the code from which the message is issued,...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 12:41, 8 September 2016

LOGLEVEL level {2}


The error logging module in FISPACT-II provides error messages identifying the point in the code from which the message is issued, together with information identifying its severity and its nature. In some cases, values are output before the error message for further clarification. Six error severities are defined by the value of level:

0 fatal error 1 serious error 2 error warning 3 error information 4 debug information 5 logging info

LOGLEVEL may appear repeatedly throughout any portion of the input file to increase or decrease the amount of information printed to the .log file. The default is to write messages for severity 2 (error warning) and higher. The LOGLEVEL keyword allows the amount of information written to the runlog file to be varied. For example:

< -- Control phase -- >
...
LOGLEVEL 5
GETXS 1 709
LOGLEVEL 0
GETDECAY 1
FISPACT
* Title of the simulation
< -- Initial phase -- > 
LOGLEVEL 4
... 
< -- Inventory phase -- > 
LOGLEVEL 2
...

would give full logging data in the cross section collapse process, only return fatal messages in the decay condense, increase to full debug information in the initial phase and return to default serious error logging for the inventory phase.