Closed revoltek-daniel closed 4 months ago
The config looks fine.. You could try to enable useLocking in RotatingFileHandler's constructor (use_locking: true
in symfony config), that should ensure two concurrent processes cannot write to the same at the same time, which I guess is what is happening here, but I have never seen such problems even in prod envs with quite a lot of traffic so I am unsure what's the underlying cause.
Monolog version 2.9.3
We use Monolog in our Sylius Shop, sometimes we get Messages which are truncated.
This is how it should look:
Log file output:
Monolog config:
Is this a bug or have we done something wrong with our configuration?