simplex-chat / simplex-chat/simplexmq

file not created with log_stats: on enabled

Open
#1,550 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
847
Forks
111
Avg merge
3d 11h
Merged PRs (30d)
9

Description

After enabling the log_stats: on option in the smp-server configuration, the expected log file /var/opt/simplex/smp-server-stats.daily.log is not being created.
It is expected that with this option enabled, the server should automatically generate and write statistics to this file, but this does not happen.

Additional information:

smp-server version: [please specify your version]

OS: Debian 12

Configuration snippet:

log_stats: on

The directory /var/opt/simplex/ exists and has the correct permissions.

The file is missing even after restarting smp-server.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with log_stats: on on Debian 12, after confirming the smp-server version and checking /var/opt/simplex/ permissions. Trace how the server handles this configuration and where it should create /var/opt/simplex/smp-server-stats.daily.log; done means the file is generated and receives statistics after restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.