Bookshelf Home | Contents | Index | PDF |
Siebel System Monitoring and Diagnostics Guide > Configuring Client-Side Logging > Examples of Log Files for Client-Side LoggingThis topic provides excerpts of sample log files and examples of log file information for client-side logging for Siebel Business Applications. For more information about the elements in these log files, see About SiebelLogs Log Files. To view a sample log file, see Figure 3. Example of a Log File When a Client Stops RespondingThe following log file information is an example of what is written to the SiebelLogs log file when a client stops responding. For a detailed description of this sample output, see Table 44. This trace event has a category of TRACE_ERROR with a log level value of 0. TRACE_AREA_OM TRACE_ERROR 0 14 2007-04-12 14:40:07.738 axapp.cpp(4028)CSSAxApp::CallRPC - User session has timed out.
Example of a Log File When a Required Field on an Applet Is Not ProvidedThe following log file is an example of the information that is written to the SiebelLogs log file when a user does not enter a value in the required field on an applet. For a detailed description of this sample output, see Table 45. This trace event has a category of TRACE_INFO with a log level value of 2. TRACE_AREA_OM TRACE_INFO 2 17 2007-04-12 15:14:45.946 axobjectbase.cpp(431)'Name' is a required field. Please enter a value for the field.(SBL-DAT-00498)
Example of a Log File When an eScript Business Service Is Called on a ViewThe following log file information is an example of what is written to the SiebelLogs log file when an eScript business service is called on a view. For a detailed description of this sample output, see Table 46. This trace event has a category of TRACE_DETAIL with a log level value of 3. TRACE_AREA_CACHE TRACE_DETAIL 3 10 2007-04-12 15:14:00.822
Example of a Trace Event Log SequenceThe following log file is an example of the information written to the SiebelLogs log file to show the state of an application before it goes into a busy state, thus allowing you to track the sequence of events and diagnose any errors: TRACE_AREA_OM TRACE_INFO 2 0 2007-04-12 14:21:18.514 axapp.cpp(9534)*** CSSAxApp::ProcessObjectInfo() ends! *** TRACE_AREA_BRWS TRACE_INFO 2 0 2007-04-12 14:21:19.706 axcmdmgr.cpp(2470)Browser DocumentComplete is called TRACE_AREA_BRWS TRACE_INFO 2 0 2007-04-12 14:21:19.716 axcmdmgr.cpp(2659)Browser DownloadBegin is called TRACE_AREA_BRWS TRACE_INFO 2 0 2007-04-12 14:21:19.856 axcmdmgr.cpp(2545)Browser NavigateComplete2 is called TRACE_AREA_BRWS TRACE_INFO 2 0 2007-04-12 14:21:20.047 axcmdmgr.cpp(2383)Browser BeforeNavigate2 is called with URL http://sdchs21n110/sales_enu/start.swe?SWENeedContext=false&SWECmd=GetCachedFrame&SWEACn=1912&SWEC=3&SWEFrame=top._sweclient._sweappmenu&SWEBID=-1&SWETS= TRACE_AREA_BRST TRACE_INFO 2 0 2007-04-12 14:21:20.047 axcmdmgr.cpp(2969)Entering Busy state Example of a Control Log FileThe following log file displays the information that is written to the SiebelLogs log file when a control is accessed by way of the user interface. In this example, a TRACE_AREA_GENCTL event is created when a user right-clicks using a mouse. For a detailed description of this sample output, see Table 47. This trace event has a category of TRACE_INFO with a log level value of 3. TRACE_AREA_GENCTL TRACE_INFO 3 0 2004-06-10 16:28:01.121 listctrl.cpp(1957): User right-clicked. Example of Client Startup Log FileThe following log file displays the information that is written to the SiebelLogs log file when a client starts up. In this example, two TRACE_AREA_REQ trace areas are created: one for the start of operation, and one for the end of operation. For a detailed description of this sample output, see Table 48. These trace events have a category of TRACE_INFO with a log level value of 3. Start of operationsThe following indicates the start of operations: TRACE_AREA_REQ TRACE_INFO 3 0 2004-06-10 16:28:01.123 axappp.cpp(9231): Begin sending RPC NOTE: RPC stands for remote procedure call. This call enhances performance between the application server and the client. RPC is supported only for applications running in high-interactivity mode. End of operationsThe following indicates the end of operations: TRACE_AREA_REQ TRACE_INFO 3 0 2004-06-10 16:28:05.234 axappp.cpp(9232): Completed RPC request. Example of a GET Request Log FileThe following log file information is an example of a get request to the server and the information that is written to the SiebelLogs log file when a user navigates from one view to another within an application. For a detailed description of this sample output, see Table 49. This trace event has a category of TRACE_DETAIL with a log level value of 4: TRACE_AREA_REQ TRACE_DETAIL 4 0 2004-06-10 16:28:01:235 axapp.cpp(9236):[155]GET query string: SWECmd=GetCachedFrame&SWEACn=5114&SWEC=3&SWEFrame= top._swe.
Example of a POST Request Log FileThe following log file is an example of the information that is written to the SiebelLogs log file when a post request is sent to a server. In this example, a TRACE_AREA_REQ trace area is created for the post request. For a detailed description of this sample output, see Table 50. This trace event has a category of TRACE_DETAIL with a log level value of 4. TRACE_AREA_REQ TRACE_DETAIL 4 0 2004-06-10 16:28:01:235 axapp.cpp(9236):[155] POST: data=field1=<data>&field2=<data>...
Example of a String Cache Operations Log FileThe following log file displays the information that is written to the SiebelLogs log file when view layout caching is complete. In this example, a TRACE_AREA_CACHE trace area is created for the view layout cache. For a detailed description of this sample output, see Table 51. This trace event has a category of TRACE_DETAIL with a log level value of 4: TRACE_AREA_CACHE TRACE_DETAIL 4 0 2004-06-10 16:28:01:435 axapp.cpp(9252): Queried view for layout cache for view Order Entry List View
Example of Busy State Log FileThe following log file information displays what is written to the SiebelLogs log file when the browser enters a busy state. In this example, a TRACE_AREA_BRST trace area is created for the busy state. For a detailed description of this sample output, see Table 52. This trace event has a category of TRACE_DETAIL with a log level value of 4: TRACE_AREA_BRST TRACE_DETAIL 4 0 2004-06-10 16:28:435 axapp.cpp(5122): Entering busy state Example of a JavaScript Error Message Log FileThe following log file is an example of a message from JavaScript code and the information that is written to the SiebelLogs log file when the object manager fails, a session has timed out, or a request could not be processed. For a detailed description of this sample output, see Table 53. This trace event has a log level value of 1: TRACE_AREA_JAVA 1 0 2004-06-10 16:28:09:435 axapp.cpp(5129):SBL-UIF-00335: We are unable to process your request. (This is most likely because you used the browser BACK or REFRESH button to get to this point) Example of a Browser Operation Log FileThe following log file is an example of a browser event handler and the information that is written to the SiebelLogs log file when the browser is maximized, minimized, or closed. For a detailed description of this sample output, see Table 54. This trace event has a category of TRACE_INFO with a log level value of 3. TRACE_AREA_BRWS TRACE_INFO 3 0 2004-06-10 16:28:09:435 axapp.cpp(5102): Browser minimized. Example of a View Layout Log FileThe following log file is an example of the information that is written to the SiebelLogs log file when a view layout is rendered from memory, the hard disk, or the server. For a detailed description of this sample output, see Table 55. This trace event has a category of TRACE_DETAIL with a log level value of 4: TRACE_AREA_LAYOUT TRACE_Detail 4 0 2004-06-10 16:29:22:578 axapp.cpp(1223): Accessing view layout for Account List View from disk
Example of Propertyset Info for GotoView Log FileThe following log file displays the information that is written to the SiebelLogs log file when a property set response comes back from the server. In this example, a TRACE_AREA_RESP trace area is created for the property set response. For a detailed description of this sample output, see Table 56. This trace event has a category of TRACE_INFO with a log level value of 3: TRACE_AREA_RESP TRACE_INFO 3 0 2004-06-10 16:28:09:435 axapp.cpp(5102): Propertyset for gotoview @0*0*6*3*0*3*0*6*Target35*top._sweclient._swecontent._sweview4*SWEC1*74*View17*Account List View6*ViewId0*6*Status9*NewLayout2*UC1*10*6*3*api3*0*2*0*2* sc3*0*3*rqc1*71*v3034*8*Accounts5*Query6*Cancel15*Query Assistant6*Delete4*Save13*PositionOnRow18*ToggleListRowCount8* Location4*Site17*Main Phone Number12*Main Phone#14*Account status23*PickList Account Status9*Home Page3*URL7*GotoUrl12*SynchAccount10*BlankLine110*Blankline213*OwnerInstance19*LabelACCOUNTDETAILS10*LabelAUDIT13* LabelAsterisk13*LabelDUN Example of JavaScript Log FileLogging using JavaScript is supported through an exposed API in the application object. You use the line number and filename provided in the log file to debug the source code. The log engine is called as follows: JavaScript => theApplication().SeblTrace("level,logmessage");
JavaScript => theApplication().SeblTrace(3,"JSSApplicationShadow Initialized."); where the resultant Java trace log file appears as follows: TRACE_AREA_JAVA TRACE_INFO 4 0 2004-06-10 16:29:09:358 JSSApplicationShadow Initialized. |
Siebel System Monitoring and Diagnostics Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |