How to generate client log files on any E-Notebook version outside the E-notebook application via Editing the profile configuration file 'ENClientConfig.xml’.
By default you will find this ENClientConfig.xml file in the following location: [Installed Drive]:\Users\<User>\Apps\Appdata\2.0\..\
Sample for ENClientConfig.xml:
<services>
<helpFile>E-Notebook Guide.chm</helpFile>
<service>
<LoggingFlags>0</LoggingFlags>
<WSDL>http://<server_name>/ENService/ENService.asmx?wsdl</WSDL>
<authentication>Server</authentication>
<configPath>OracleConfig.xml</configPath>
<dbguid>XXXXXXXXXXXXXXXX</dbguid>
<name>OracleConfig</name>
<type>Client/Server</type>
</service>
<title>Welcome to E-Notebook - Login</title>
</services>
Once you change the "<LoggingFlags>XX</LoggingFlags>" tag to the appriorate number (We generally ask number 15 i.e., 1+2+4+8) for generating the logs, Save and close the File and Start E-Notebook client applciation
on the users machine/profile and perform the steps to observe the issue or actions that you need to generate the logs for.
Simple explanation on the Loggging number as below:
The name of the Server Side XML file is specified in the ENClientConfig.xml as the text of the configPath element of the service selected when the user logged in.
In each of the logging files, an optional element named "LoggingFlags" contains a number ranging from 0 to 127. This number represents a combination of bits that
activate different logging operations. The identified bits for logging operations are as follows:
1 – Logging should be written to a file on the application client.
2 – Database trace files should be created for all operations on the business tier. Normally, logging should only be turned on for a specific client,
and the ServeDBTrace bit (16) should be set on the client tier.
4 – This bit is reserved and not yet used.
8 – This bit is used on the client tier to specify that log files should be written on the middle tier for all operations using the current session.
16 – This bit is used on the client tier to specify that database trace files should be created for operations using the current session.
32 – This bit is used on the client tier to indicate that roundtrip statistics should appear in the status bar on the client.
64 – This bit is used on the client tier to indicate that dialog boxes should not appear during this session. Typically, this bit is only used during automated testing operations.
For example, a client tier logging value of 41 would combine bits 1, 8 and 32. This will cause log files to appear on the client tier, the application tier for the current
session and cause roundtrip statistics to appear in the status bar on the client.
Default Log file location: [Installed Drive]:\Documents and Settings\<user>\Local Settings\Temp
Default Log file name: ‘ENFrameworkWEB.log’ and ‘ENErrors.log’
Notes: Once you generate the required E-Notebook Logs kindly do not forget to switch logging off by changing the number to 0 in the same file and saveing and closing it.
Comments
0 comments
Article is closed for comments.