Log guacd generated log messages to file /var/log/guacd.log

If I start guacd from the command line in the foreground with *"systemctl
start guacd"*,   I don“t see the debug log messages.

If I start guacd from the command line in the foreground with
*"/usr/local/sbin/guacd
-f -L debug"*, then I do see the debug log messages, but still only in the
console and not in syslog.

When setting `log_level = debug` in "/etc/guacamole/guacd.conf", are the
debug messages supposed to be written to the system log at
"/var/log/messages"? I'm trying to get the debug messages in a log file,
but setting `log_level = debug` still logs only "info"-level messages to
the system log.

I set logback.xml

<configuration>
    <!-- Appender for debugging -->
    <appender name="GUAC-DEBUG" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
%msg%n</pattern>
        </encoder>
    </appender>

    <!-- Log at DEBUG level -->
    <root level="debug">
        <appender-ref ref="GUAC-DEBUG"/>
    </root>
</configuration>

Reply via email to