The [Log_SetDestination] tag is used to change the routing of error messages to different locations. Critical error messages, warnings, and detail messages can each be routed to the Lasso Service console, the errors table of the site database, or to the LassoErrors.txt file which is located in the same folder as Lasso Service.
Note: These preferences can also be configured in Lasso Administration in the Monitor > Log Book > Settings section.
The first parameter of the tag is the level of error message to be routed. These include:
Log_Level_Critical
Log_Level_Warning
Log_Level_Detail
Log_Level_SQL
Log_Level_Deprecated
Subsequent parameters should specify where to route the log level. Multiple destinations can be specified separated by commas. Destination codes include:
Log_Destination_Console
Log_Destination_Database
Log_Destination_File
Log_SetDestination(Log_Level_Warning, Log_Destination_Console, Log_Destination_File)
Log_SetDestination(Log_Level_Critical, Log_Destination_Console, Log_Destination_File, Log_Destination_Database)
Log_SetDestination(Log_Level_Detail, Log_Destination_Console)
No examples found
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments