webui.log nowhere to be found

Issue #750 resolved
Marcel Bischoff created an issue

From looking at the config.php file, I understand that

define('LOG_FILE', DIR_LOG . 'webui.log');

defines the UI log file. However, in the log folder are only two files:

-rw-r--r--  1 www  www    31B Nov 20 01:01 .htaccess
-rw-r--r--  1 www  www    10B Nov 20 01:01 lock

As I would like to monitor failed login attempts via fail2ban, I need that log file. Apart from this issue, Piler appears to be running smoothly. What's wrong here?

I'm using the latest release on FreeBSD 11.

Comments (4)

  1. Janos SUTO repo owner

    Nothing is wrong, only logs are written to syslog. Check out the mail log. However, failed logins are not logged. I may fix the gui to log failed logins as well. The gui has a trick, though. You may turn on captcha after a certain number of failed logins. Check out CAPTCHA_FAILED_LOGIN_COUNT in config.php.

  2. Marcel Bischoff reporter

    Thanks for the heads up. What is this setting for when no logs are written except for in syslog?

    The more I dig into Piler, the more I feel more extensive documentation would be in order. I'd volunteer to give it a shot as time permits. Most helpful would be inline comments explaining each setting I guess. Would you be open to questions regarding each setting so I can gather everything in one place? Also, as a long-term goal: how about a GUI refresh? I'd be motivated to work on that as well.

  3. Janos SUTO repo owner

    Probably a leftover. I'll check it. I'd be glad if you worked on improving the docs. Regarding the gui variables in config.php I did my best to use self explaining names, so it should be clear, though some clarification is always handy. I'll also support your gui refreshing efforts. Let's see where it goes. And thanks for your efforts improving piler.

  4. Log in to comment