By default, Sybase Central retrieves the last 1000 lines from the log. To modify the number of log records the Unified Agent retrieves, select:
Retrieve all – retrieve the entire log record.
Retrieve last – retrieve the last n number of lines.
Retrieve last – retrieve the last n days worth of logs.
Retieve lines matching this regular expression – matches this expression with the lines in the log. The expression will match the entire line of the log, not just the message. Select Ignore Case to disregard the case of the expression.
Sybase Central displays the regular expressions that it searches for the field below. Regular expressions are a way to describe a set of strings based on common characteristics shared by each string. For Java's regular expression syntax (used by the Adaptive Server plug-in), see http://java.sun.com
You can mark log entries containing certain regular expressions. The icons for these entries are different. The words matching the regular epxressions are highlighted in the Message text area of the log entries' Properties dialog box.
Select these buttons to:
Add – add an expression.
Remove – remove the selected expression.
Edit – edit the selected expression.
Enable All – search for all listed expressions.
Disable All – Remove all expressions from the search.
To add a regular expression:
Click Add on the Server Properties dialog box. Sybase Central displays the Add Expressions dialog box.
Click the Edit button.