Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_data_/_default_/logs/*.txt missing #1848

Open
hth2 opened this issue Nov 20, 2024 · 1 comment
Open

_data_/_default_/logs/*.txt missing #1848

hth2 opened this issue Nov 20, 2024 · 1 comment

Comments

@hth2
Copy link

hth2 commented Nov 20, 2024

SnappyMail version, browser, browser version:

  • docker image djmaze/snappymail:v2.38.2, using bind mount ./data:/var/lib/snappymail
  • browser: any

Expected behavior and actual behavior:
Actual:
I want to improve performance following https://github.com/the-djmaze/snappymail/wiki/Improve-performance#first-turn-on-debugging-and-login

After steps in First turn on debugging and Login there are no _data_/_default_/logs/*.txt files (only auth.log)

Expected:
_data_/_default_/logs/*.txt are created

@briank-git
Copy link

briank-git commented Nov 21, 2024

I am seeing the same issue of no logs under _data_/_default_/logs/ even in Debug mode. Running the latest docker image using the docker-compose.mysql.yml docker-compose example.

Here is my logs config:

[logs]
; Enable logging
enable = On

; Path where log files will be stored
path = ""

; Log messages of set RFC 5424 section 6.2.1 Severity level and higher (0 = highest, 7 = lowest).
level = 7

; Required for development purposes only.
; Disabling this option is not recommended.
hide_passwords = On
time_zone = "America/Vancouver"

; Log filename.
; For security reasons, some characters are removed from filename.
; Allows for pattern-based folder creation (see examples below).
filename = "stderr"

; Enable auth logging in a separate file (for fail2ban)
auth_logging = On
auth_logging_filename = "auth.log"
auth_logging_format = "[{date:Y-m-d H:i:s}] Auth failed: ip={request:ip} user={imap:login} host={imap:host} port={imap:port}"

; Enable auth logging to syslog for fail2ban
auth_syslog = Off
json_response_write_limit = 300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants