Source:Setting Log Level: Difference between revisions

From SEPsesam
(Marked this version for translation)
(Added copyright and navigation.)
Line 1: Line 1:
<noinclude><languages /><br /></noinclude>
__FORCETOC__
__FORCETOC__
<translate>== How to set a log level == <!--T:1-->
<noinclude><languages /><br />
 
<translate>{{Copyright SEP AG en}}
 
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Grolar'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|documentation archive]]}}</translate><br /></noinclude>
<translate>== How to set a log level == <!--T:36--></translate> <!--T:1-->
<noinclude><div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate>
<!--T:37-->
Additional resources</translate></b></center>
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>
<!--T:38-->
[[File:SEP_next.png|45px|link=Special:MyLanguage/SEP_Sesam_CLI]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>
<!--T:39-->
See also: [[Special:MyLanguage/SEP_Sesam_CLI|SEP sesam CLI]]</translate>
|}
 
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" |
<translate>
<!--T:40-->
[[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ#higher_logging_level|FAQ]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
<translate>
<!--T:41-->
Check [[Special:MyLanguage/FAQ#higher_logging_level|FAQ]] to find the answers to most common questions.</translate>
|}
 
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | <translate>
<!--T:42-->
[[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>
<!--T:43-->
Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]].</translate>
|}
</div></noinclude>
<translate>


<!--T:2-->
<!--T:2-->
Line 65: Line 102:
<br clear=all>
<br clear=all>
</ol>
</ol>
<translate><noinclude>
== See also ==
[[Special:MyLanguage/SEP_Sesam_CLI|SEP sesam CLI]]</noinclude></translate>

Revision as of 12:59, 9 October 2018


Template:Copyright SEP AG en

Welcome to the latest SEP sesam documentation version 4.4.3/4.4.3 Grolar. For previous documentation version(s), check documentation archive.


How to set a log level

You can control the reporting (verbose) level of the backup and restore protocol by setting a desired log level on a per-task basis. The following log levels are provided:

Setting Log level details

0
1
2
3
4
5

  • print only standard and error messages together with summary
  • display a line for every item when its processing starts: 'sbc-3008: Info: Processing item: [xxx]...'
  • display a line for every item when its processing finishes: 'sbc-3108: Info: Item processed successfully: [xxx]'
  • display backup module processing information (with DB_API modules)
  • display underlying module processing XBSA and detailed DB_API modules
  • display packing data (mtf, cpio, sidf) trace messages

You can also change the logging level for SEP sesam modules in the <SESAM ROOT>/var/ini/debug.ini of the SEP sesam Server installation for specific module by selecting a value between 0-6 (0=ERROR, 1=EMERGENCY, 2=WARNING, 3=NOTICE, 4=INFO, 5=DEBUG, 6=TRACE).

Setting log level for backup

You can set the desired log level for each backup task in its properties:

  1. In the Main Selection -> Tasks -> By clients, select your client and double-click the backup task for which you want to define the log level. The task properties window is displayed.
  2. Click the Options tab and under the Additional call arguments in the Save options field, enter the desired verbose level in the form: -v <No.>. For example, setting the level to -v 3 will write information on the item's processing into the log file.

Setting log level for restore

By default, the log level for restore is set to 1 (-v 1) if 1000 or fewer items are selected. You can set the desired log level for each restore operation in its properties:

  1. From the SEP sesam GUI menu bar, select Activities -> Restore. The New restore task window appears.
  2. In the last Save and start step of the restore wizard, click the Expert options button. Under the Options from the Verbose level drop-down list, select the desired log level for your restore.


See also

SEP sesam CLI