xrdp.log size is 21.32gb #3682
Replies: 3 comments 8 replies
-
|
That's some serious logging! DEBUG logging can be useful for investigating problems, but it's not a good idea for production, and will always impact performance. Also, you don't need syslog enabled at the same time as the file log. I'd suggest using INFO level, either to |
Beta Was this translation helpful? Give feedback.
-
|
Hey Matt, thanks for your prompt reply. So is this what you are suggesting? Option 1 Option 2 Would those changes reduce current xrdp.log file size once xrdp is restarted? |
Beta Was this translation helpful? Give feedback.
-
|
There was a typo, yeah, my bad :-) I typed sudo cp /dev/null /var/log/xdrp.log Fixed it now. xrdp.log is now 0kb Thanks a lot! Just for my understanding, where is xdrp log being stored now? Is it at /var/log/syslog? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys
First of all, have to mention that i´m really no expert.
I own a Raspberry Pi 4 Model B, running Raspbian Linux 10 Buster
Using xrdp for a while, only to find out about this
/var/log/xrdp-sesman.log is 356,74kb
/var/log/xrdp.log is 21.32gb
That xrdp.log size makes no sense to me.
I have checked xrdp.ini and looks like this:
[Logging]
LogFile=xrdp.log
LogLevel=DEBUG
EnableSysLog=true
Sysloglevel=DEBUG
; LogLevel and SysLogLevel could be any of: core, error, warning, info or debug
Will setting CORE or ERROR result in a reduced xrdp.log?
I really don´t know if this means something, but sesman.ini Logging is set as DEBUG as well.
Beta Was this translation helpful? Give feedback.
All reactions