# Standard tokens; some are used by Configure:
_TaskName:SysLog Setup
_Purpose:Configuring system logging
_Author: RISCOS Ltd, 2001-2002
_Version:1.07 (10 Oct 2002)
_ConfigText:Logging
_ConfigHelp:Click SELECT to open the system logging configuration window.
_ConfigSprite:co_syslog

# Tokens used by CPIShell
_ConfigOSVersion:420

# Values for some of the program's internal variables:
Taskname:SysLog Setup
IconBar:!SysLogStp
ErrorSprite:!SysLogStp
MemLimit:1024
SysLogNeeded:0.36
PlugInDescriptor:&50DBF
LogStorage:<SysLog$LogDir>
InFile:<ChoicesDefault$Dir>.Internet.Files.SysLog
OutFile:<ChoicesDefault$Dir>.Internet.Files.SysLog

# Default settings
Default_LogName:* (Default)
Default_Remote:0
Default_Machine:
Default_Facility:16
Default_DupeCheck:1
Default_Static:0
Default_Cache:1
Default_LogLevel:125
Default_MaxMem:0
Default_AltMLogLevel:125
Default_AltMaxMem:64

# Info window labels:
Info_Title1:About this plug-in
Info_Title2:About this program
Info_Icons:7
Info_4:Name
Info_5:Purpose
Info_6:Author
Info_7:Version

# Main window labels:
Main_Title:System logging configuration
Main_Icons:40
Main_0:Cancel
Main_1:Save
Main_2:Show files...
Main_3:Set
Main_4:Log
Main_6:\Logging destination
Main_8:\Reports
Main_10:\Maximum size of log
Main_11:K
Main_13:\Log storage
Main_14:Boot
Main_16:Enable
Main_17:Delete
Main_18:New log...
Main_19:Rename log...
Main_20:Show...
Main_21:Status...
Main_22:Log to local machine
Main_23:Log to remote machine
Main_24:Machine
Main_25:Name
Main_26:Facility
Main_27:(None)
Main_29:Logging level
Main_30:256
Main_33:Count duplicate lines
Main_34:Limit to
Main_35:1024
Main_38:Log in memory
Main_39:Save to disc
Main_40:Cache in memory

# Name (Create/Rename log) window labels:
Name_Title:Log name
Name_Icons:4
Name_0:Cancel
Name_1:Create
Name_3:Log
Name_4:(Name)
Name_Create:Create
Name_Rename:Rename

# Menu item entries:
Menu_Title:SysLog Setup
Menu_Logs:Logs
Menu_Info:Info
Menu_Quit:Quit
Menu_Rescan:Re-scan logs
Menu_Rescan_Title:Re-scan options
Menu_Rescan_All:All logs (including overrides from memory)
Menu_Rescan_Saved:Only saved logs (no memory overrides)

# Facilities (for the Facilities menu)
Facilities_Title:Facilities
Facilities:23
Facility_None:(None)
Facility_0:kernel
Facility_1:user
Facility_2:mail
Facility_3:daemon
Facility_4:auth
Facility_5:syslog
Facility_6:lpr
Facility_7:news
Facility_8:uucp
Facility_9:cron
Facility_10:authpriv
Facility_11:ftp
Facility_12:ntp
Facility_13:logaudit
Facility_14:logalert
Facility_15:clock
Facility_16:local0
Facility_17:local1
Facility_18:local2
Facility_19:local3
Facility_20:local4
Facility_21:local5
Facility_22:local6
Facility_23:local7

# These error tokens must be defined if line numbers are to be reported on unexpected errors:
Error_Fatal:(internal error code %0): quitting
Error_Error:(internal error code %0)

# Custom fatal errors (without line numbers):
Error_FatalSysLogTooOld:SysLog Setup requires version %0 or later of the SysLog module
Error_FatalIndirectOverflow:The indirect menu text buffer has overflowed: quitting
Error_FatalTooManyFacilities:Too many Facilities are defined in the Messages file (the highest permissible Facility number is 254): quitting
Error_FatalReadError:An unexpected error occurred when attempting to catalogue SysLog information: quitting
Error_FatalCannotClaimMemory:Unable to claim sufficient memory to catalogue SysLog files: quitting
Error_FatalCannotClaimMemoryLM:Unable to claim sufficient memory to build the menu of SysLog entries: quitting
Error_FatalCannotLoseMemory:The SysLog configuration file was saved successfully, but a fatal error occurred when attempting to release memory during log deletion: quitting

# Custom non-fatal errors (without line numbers):
Error_HelpTextOverflow:The help text for the object under the pointer overflowed by %0 character(s): please edit the Messages file to correct this
Error_HelpTextError:The help text for the object under the pointer was either missing or was much too long (overflow by more than 20 characters): please edit the Messages file to correct this
Error_BlankName:You have not entered a name for the log!
Error_LogName:The log name must begin with an alphanumeric character
Error_DuplicateName:That log name is already taken; please choose another
Error_MachineName:The machine name must begin with an alphanumeric character
Error_NoConfig:No SysLog configuration file could be found in the expected location; settings have been read from memory
Error_NoSysLogs:No storage directory for log files is known to the system; please ensure that the !SysLogs application is installed within the Resources directory inside the computer's boot structure
Error_MultipleDefaults:SysLog Setup found %0 occurrences of the default settings in your configuration file; the most recent settings will be honoured
Error_DuplicatesFound:Multiple log entries with the same name were found in your SysLog configuration file; only the most recent settings will be honoured for duplicate entries, and duplicates will be removed when saving
Error_EnumerateError:An unexpected error occurred while enumerating the logs known by the SysLog module
Error_NoOutput:An error occurred when attempting to save the SysLog configuration file; please check that the file or device is not write-protected or locked

# Program query for presentation in an error window
Query_Rescan:Re-scanning the logs will result in the loss of any unsaved changes or new log entries: are you sure you wish to proceeed?
Query_Rescan_Buttons:Re-scan,Cancel
Query_Quit:You have made changes to your SysLog configuration which have not yet been saved; are you sure you want to quit now and discard the changes?
Query_Quit_Buttons:Discard,Cancel,Save and quit

# Interactive help messages for windows:
Help_IconBar:This is the SysLog Setup icon.|MClick MENU for information or to quit.|MClick SELECT to open the system logging configuration window.

Help_Info:This window displays information about SysLog Setup.

Help_Main_Info:This is the SysLog Setup window.|MIt allows you to configure various aspects of the logging behaviour for a variety of system functions and applications.
Help_Main_0:Click SELECT to close this window without configuring the selections.|MClick ADJUST to reset the selections for the displayed log to the previous settings.
Help_Main_1:Click SELECT to accept the settings for all log files, save them to disc and close this window.|MClick ADJUST to save the settings without closing this window.
Help_Main_2:Click SELECT to open a directory display showing the log files on disc.|MThese may be deleted if not needed.|MIf you delete a log from the settings in this window, you should also delete any associated log file on disc.
Help_Main_3:Click SELECT to apply the current selections to the log file displayed in the window.|MClick ADJUST to apply appropriate settings to all log files known to SysLog Setup.
Help_Main_4:This is the name of the log settings being edited below.|MAn asterisk (*) at the end of the name indicates that its settings have been changed.
Help_Main_5:These options determine whether logging information should be stored on this computer or sent to another machine.
Help_Main_6:These options determine whether logging information should be stored on this computer or sent to another machine.
Help_Main_7:These options determine the amount of information provided in a log, and whether duplicate lines should be counted or listed individually.
Help_Main_8:These options determine the amount of information provided in a log, and whether duplicate lines should be counted or listed individually.
Help_Main_9:These options determine whether logs should be allowed to grow to any size, or whether an upper memory limit should be imposed.
Help_Main_10:These options determine whether logs should be allowed to grow to any size, or whether an upper memory limit should be imposed.
Help_Main_11:The limit to which the size of the log file is allowed to grow is measured in Kilobytes.
Help_Main_12:These options determine whether logs should be held in memory or saved to disc, and whether a disc cache should be used in the latter case.
Help_Main_13:These options determine whether logs should be held in memory or saved to disc, and whether a disc cache should be used in the latter case.
Help_Main_14:You can choose a log to edit from the menu.|MIf the settings have been changed, an asterisk (*) appears at the end of the name.
Help_Main_15:Click SELECT to open a menu listing all logs currently known to the system.|MLogs whose names end with an asterisk (*) have been edited but not yet saved.
Help_Main_16:This indicates if this particular log is active.|MDeactivating a log will set its logging level to 0, but will not affect any other settings.|MClick SELECT to select or deselect this option.
Help_Main_17:This indicates if this log will be deleted when the settings are saved.|MIf deleted, the configuration will be erased, but any log file still present on disc will be left intact.|MClick SELECT to select or deselect this option.
Help_Main_18:Click SELECT to create a new log based on the default settings.
Help_Main_19:Click SELECT to give the current log a new name.
Help_Main_20:Click SELECT to show the log entries for the current log in a new window.|MIf no window appears, there is no logged information to display.
Help_Main_21:Click SELECT to show status information about the log currently being edited.|MIf no window appears, the log has not yet been defined (click Set or Save).|MClick ADJUST to show status information about all active logs.
Help_Main_22:This indicates if logging information should be stored on this machine.|MClick SELECT to select this alternative.
Help_Main_23:This indicates if logging information should be sent to another machine.|MClick SELECT to select this alternative.
Help_Main_24:This is the name of the remote computer, or an IP address.
Help_Main_25:You can enter the name of the remote machine or an IP address here.
Help_Main_26:This is the name of the Facility to which logging information is sent on the remote machine.|MThis feature is only used by machines running Unix.
Help_Main_27:You can choose a Facility from the menu.
Help_Main_28:Click SELECT to open a menu listing all available facilities.|MThe Facility setting is only used if you are logging to a remote Unix machine.
Help_Main_29:This is the amount of detail included in the logs.|MA value of 1 displays only the most critical information.|MA value of 256 causes all available information to be included.
Help_Main_30:You can adjust the logging level using either the keyboard or the arrows.
Help_Main_31:Click SELECT to decrease the logging level by 1.
Help_Main_32:Click SELECT to increase the logging level by 1.
Help_Main_33:This indicates if successive duplicate lines should be counted in the log file in the form: 'repeated # times'.|MIf not selected, duplicate lines will be listed individually.|MClick SELECT to select or deselect this option.
Help_Main_34:This indicates if a limit should be imposed on the size of the log file generated.|MClick SELECT to select or deselect this option.
Help_Main_35:You can adjust the memory limit using either the keyboard or the arrows.
Help_Main_36:Click SELECT to decrease the memory limit by 1K.
Help_Main_37:Click SELECT to increase the memory limit by 1K.
Help_Main_38:This indicates if the log should be held entirely in memory and never saved to disc.|MClick SELECT to select this alternative.
Help_Main_39:This indicates if the log should be saved to disc (either immediately or periodically, depending on whether the Cache option is selected).|MClick SELECT to select this alternative.
Help_Main_40:This indicates if logs should be cached in memory and only written to disc periodically.|MThe memory cache is helpful for local (but not remote) logging.|MClick SELECT to select or deselect this option.

Help_Name_Info_Create:This window allows you to create a new log, using the name entered in the box.
Help_Name_Info_Rename:This window allows you to enter a new name for the current log.
Help_Name_0_Create:Click SELECT to close this window without creating a new log.|MClick ADJUST to clear the contents of the box and keep this window open.
Help_Name_0_Rename:Click SELECT to close this window without renaming the current log.|MClick ADJUST to clear the contents of the box and keep this window open.
Help_Name_1_Create:Click SELECT or ADJUST to create a new log using the specified name and close this window.
Help_Name_1_Rename:Click SELECT or ADJUST to rename the log using the specified name and close this window.
Help_Name_3_Create:This is the name of the log to be created.
Help_Name_3_Rename:This is the new name for the current log.
Help_Name_4_Create:You can enter the name of the new log here.
Help_Name_4_Rename:You can enter the new name for the current log here.

# Interactive help messages for menus:
Help_Menu_IconBar:This is the SysLog Setup icon bar menu.
Help_Menu_Main:This is the SysLog Setup main menu.
Help_Menu_Info:Move the pointer right to see information about SysLog Setup.
Help_Menu_Quit:Click SELECT to quit SysLog Setup.
Help_Menu_Rescan:Click SELECT to re-scan all the log files, reading the most recent information from memory.|MMove the pointer right for more options.|MAny changes you have made but not saved may be lost.
Help_Menu_Rescan_All:Click SELECT to re-scan all the log files, overriding saved information with the most recent settings read from memory.|MAny changes you have made but not saved may be lost.
Help_Menu_Rescan_Saved:Click SELECT to re-scan all log files saved on disc, presenting their options as saved rather than as currently set in memory.|MStatic logs (stored only in memory) may be omitted.|MAny changes you have made but not saved may be lost.

Help_Menu_Logs:This is the menu of SysLog configurations that you can edit.
Help_Menu_Log_Default:Click SELECT to edit the default SysLog settings.|MThe default settings are called '*'.|MWhen new logs are created, the default settings will be used for any options which are not specified explicitly.
Help_Menu_Log_Others:Click SELECT to edit the SysLog settings for the '%0' log file.

Help_Menu_Facilities:This is the Facilities menu.|MIf logging to a remote Unix machine, the Facility (if specified) will determine where the logging information will be sent.|MRemote RISC OS machines ignore the Facility setting.
Help_Menu_NoFacility:Click SELECT to leave the Facility option unspecified.|MOn a remote Unix machine, the default facility will be used.|MRemote RISC OS machines ignore the Facility setting.
Help_Menu_Facility_0:Click SELECT to choose Facility0: Kernelmessages
Help_Menu_Facility_1:Click SELECT to choose Facility1: User-levelmessages
Help_Menu_Facility_2:Click SELECT to choose Facility2: Mailsystem
Help_Menu_Facility_3:Click SELECT to choose Facility3: Systemdaemons
Help_Menu_Facility_4:Click SELECT to choose Facility4: Security/authorizationmessages
Help_Menu_Facility_5:Click SELECT to choose Facility5: Messagesgeneratedinternallybysyslogd
Help_Menu_Facility_6:Click SELECT to choose Facility6: Lineprintersubsystem
Help_Menu_Facility_7:Click SELECT to choose Facility7: Networknewssubsystem
Help_Menu_Facility_8:Click SELECT to choose Facility8: UUCPsubsystem
Help_Menu_Facility_9:Click SELECT to choose Facility9: Clockdaemon
Help_Menu_Facility_10:Click SELECT to choose Facility10: Security/authorizationmessages
Help_Menu_Facility_11:Click SELECT to choose Facility11: FTPdaemon
Help_Menu_Facility_12:Click SELECT to choose Facility12: NTPsubsystem
Help_Menu_Facility_13:Click SELECT to choose Facility13: Logaudit
Help_Menu_Facility_14:Click SELECT to choose Facility14: Logalert
Help_Menu_Facility_15:Click SELECT to choose Facility15: Clockdaemon
Help_Menu_Facility_16:Click SELECT to choose Facility16: Localuse0
Help_Menu_Facility_17:Click SELECT to choose Facility17: Localuse1
Help_Menu_Facility_18:Click SELECT to choose Facility18: Localuse2
Help_Menu_Facility_19:Click SELECT to choose Facility19: Localuse3
Help_Menu_Facility_20:Click SELECT to choose Facility20: Localuse4
Help_Menu_Facility_21:Click SELECT to choose Facility21: Localuse5
Help_Menu_Facility_22:Click SELECT to choose Facility22: Localuse6
Help_Menu_Facility_23:Click SELECT to choose Facility23: Localuse7
