Skip to content

Not configurable logging #45

@m-messiah

Description

@m-messiah

Hello,
I have just realized, that it is impossible to configure logging options here, and I can't understand what needs to be changed.
For example if I start sftp as /usr/local/bin/twistd --reactor=kqueue --pidfile=/var/run/swftp-sftp.pid --logfile=/var/log/swftp/sftp.log swftp-sftp -c /etc/swftp/swftp.conf it creates logfile at /var/log/swftp and use it for logging, instead of StdOut, written in logging.py.

How can I change log formatter, log verbosity, or just remove annoying cutting logs after 1MB, which breaks logs almost after each two-three client connections?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions