Page 1 of 1

HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

Posted: 2019-05-24 11:44
by LDP_CleanCoder_93
Dear Community,

I attempt to modify the FilezillaServer source, so that log lines previously written to a file are instead feed to a message queue, like Boost's.

Which source file's should I touch for this, or do I need to change a DLL for this to work?

Many thanks in advance for your consideration and advice,
LDP

Btw.: I will contribute the source code, when I have finished my work. :wink:

Re: HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

Posted: 2019-05-24 14:20
by botg
source/FileLogger.cpp if you want to do it in the server service itself.

An alternative would to write a new client that connects to the administration port, it gets passed all the log messages over the administration protocol (undocumented, except by the source itself).

Re: HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

Posted: 2019-05-27 11:02
by LDP_CleanCoder_93
Thank you.
Currently I have a hard time, to compile libfilezilla's dependencies with mingw64 as dll. :)

Re: HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

Posted: 2019-06-04 13:30
by LDP_CleanCoder_93
I have just build Filezilla Server :)