Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
gwusermanual:lo4j_properties [2019/11/12 15:01] giorgio.scali |
gwusermanual:lo4j_properties [2020/01/07 16:14] (versione attuale) giorgio.scali |
||
---|---|---|---|
Linea 3: | Linea 3: | ||
Si possono specificare, tra l'altro, Logging Level selettivamente e su quali file verranno salvati i log. | Si possono specificare, tra l'altro, Logging Level selettivamente e su quali file verranno salvati i log. | ||
- | Per una guida completa fare riferimento a quella ufficiale [https://logging.apache.org/log4j/2.x/manual/configuration.html#Additivity|qui]]. | + | Per una guida completa fare riferimento a quella ufficiale [[https://logging.apache.org/log4j/2.x/manual/configuration.html|qui]]. |
===== Logging Level ===== | ===== Logging Level ===== | ||
Linea 27: | Linea 27: | ||
===== Template log4j.properties (Webclient) ===== | ===== Template log4j.properties (Webclient) ===== | ||
- | <code> | + | <code properties log4j.properties> |
# Set root logger level to DEBUG and its appenders to A1 and file | # Set root logger level to DEBUG and its appenders to A1 and file | ||
# A1 and file are arbitrary alias names for specific appender, configured below | # A1 and file are arbitrary alias names for specific appender, configured below | ||
Linea 88: | Linea 88: | ||
===== Template log4j.properties (Webadmin) ===== | ===== Template log4j.properties (Webadmin) ===== | ||
- | <code> | + | <code properties log4j.properties> |
# Set root logger level to DEBUG and its appenders to A1 and file | # Set root logger level to DEBUG and its appenders to A1 and file | ||
# A1 and file are arbitrary alias names for specific appender, configured below | # A1 and file are arbitrary alias names for specific appender, configured below |