Author Topic: Separate log for each directory  (Read 93 times)

Offline sergeyDi

  • New user
  • *
  • Posts: 4
    • View Profile
Separate log for each directory
« on: September 01, 2017, 07:08:12 am »
Hi,

I have several <Directory> directives. How can I create separate log file for each directory?

Offline Flo

  • Supporter
  • ***
  • Posts: 119
    • View Profile
Re: Separate log for each directory
« Reply #1 on: September 01, 2017, 07:16:26 pm »
http://www.proftpd.org/docs/directives/linked/config_ref_ExtendedLog.html says,

Context
server config, <VirtualHost>, <Anonymous> <Global>

-> Doesnt seem to be possible for <Directory>

Offline castaglia

  • Administrator
  • Support Hero
  • *****
  • Posts: 5394
    • View Profile
    • http://www.castaglia.org/
Re: Separate log for each directory
« Reply #2 on: September 02, 2017, 06:15:37 am »
Correct.  ProFTPD is not a log processing application; more specialized logging needs such as per-directory log files need to be done outside of ProFTPD, using something else, which post-processes the ProFTPD-generated log files into the formats desired.

Offline sergeyDi

  • New user
  • *
  • Posts: 4
    • View Profile
Re: Separate log for each directory
« Reply #3 on: September 04, 2017, 04:59:20 am »
Thank you.

 

sighted planning