Lasso Soft Inc. > Home

[Log_SetDestination]

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 > Errors > Setup 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

This tag can only be used by the global administrator. An [Auth_Admin] tag can be used to authorize this tag in a format file.

  • Syntax
  • Parameters
[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]
Required Parameters
Log Level The log level which is to be routed.
Optional Parameters
Log Destination The destination for the log level. Multiple destinations can be specified.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag. This tag is documented on page 391.

Tag Link [Log_SetDestination] Category Admin
Type Process Data Source Any
Support Preferred Version 6.0
Output Type None Security Admin
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft