HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

Moderator: Project members

Post Reply
Message
Author
LDP_CleanCoder_93
500 Command not understood
Posts: 3
Joined: 2019-05-24 08:06
First name: Kanan
Last name: Dethin

HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

#1 Post by LDP_CleanCoder_93 » 2019-05-24 11:44

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:

User avatar
botg
Site Admin
Posts: 35507
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

#2 Post by botg » 2019-05-24 14:20

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).

LDP_CleanCoder_93
500 Command not understood
Posts: 3
Joined: 2019-05-24 08:06
First name: Kanan
Last name: Dethin

Re: HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

#3 Post by LDP_CleanCoder_93 » 2019-05-27 11:02

Thank you.
Currently I have a hard time, to compile libfilezilla's dependencies with mingw64 as dll. :)

LDP_CleanCoder_93
500 Command not understood
Posts: 3
Joined: 2019-05-24 08:06
First name: Kanan
Last name: Dethin

Re: HowTo_ModifyServerSource_WriteLogLinesToMessageQueue

#4 Post by LDP_CleanCoder_93 » 2019-06-04 13:30

I have just build Filezilla Server :)

Post Reply