This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change of logging-configuration in ASL

Hi,
is it possible to configure the logging of asl not to use the ] and [ in the logs. To log to a database and filter the messages it would be better not to use it.

firebear


This thread was automatically locked due to age.
  • No, it isn't, because of two reasons:

    a) We can not influence the message which gets logged because there is no way to change the message between syslog injection and writing into the log file. Only possibility would be to check every program on the ASL for every possible syslog message and make sure it does not use those brackets, or to use some kind of post-processing which does the logging into the log files (and not to use syslog for that).

    b) You might refer to the [INFO-000] strings used in notifications. Those can not be easily changed, because the logging and notification subsystem matches on those exact strings. But even changing that would not give you 100% certainty that brackets do not show up, see a).

    Regards,
    andreas