About Environment Variables for System Logging
The SIEBEL_LOG_EVENTS environment variable sets the event logging level, which determines the extent of information captured in the log file. More information is captured when the environment variable is set to a higher numeric value, and less information is captured when the variable is set to a lower numeric value. The numeric value is inversely proportional to the severity of the information—0 is more severe than 5 for instance. More disk space is consumed and performance is hindered when the value is set to a value of 5 than a value of 0.
0-Fatal
1-Errors
2-Warnings
3-Informational
4-Details
5-Diagnostic
The SIEBEL_LOG_DIR environment variable determines the log file location. Set this variable to change the location from the default directory. Make sure this directory already exists, access permission to write a file in that location is available, and sufficient space is free to support the log file. Source: Oracle Docs
Configure System Logging
On Windows Server 2012 R2 go to Start and type "environment" and select the "Edit environment variables". (for other Windows follow: Right-click My Computer and go to Properties->Advanced->Environmental Variables...)
System properties window will appear, under "Advanced" tab click on the "Environment Variables" button.
A new window will appear with two lists User variables for username and System variables, under System variables click on "New" button.
A new window will appear asking for Variable name and value, provide the below:
Variable name: SIEBEL_LOG_DIR
Variable value: D:\siebel\logs
(provide the path where you want to generate the siebel dedicated client logs, make sure this directory already exists, access permission to write a file in that location is available)
Variable name: SIEBEL_LOG_EVENTS
Variable value: 5
(provide the log level 1 to 5, described above)
What is the difference between user variables and system variables?
System environment variables are globally accessed by all users. User environment variables are specific only to the currently logged-in user. System variables are shared for all users, but user variables are only for your account/profile. Source: StackOverFlow/ 4477660
Comments
Post a Comment