PhantomBot Version: 3.0.0 (Revision: fcc08b51)
OS Version: Linux - CentOS 6
Java Version: 1.8.0_181-b13
Let us know what help you need:
From a custom script I’m trying to log data a new/custom file with
$.log.file('foldername', textvariable), the folder is not generated and no log file, no errors in console or in the core logs. The script itself seems to execute fine it doesn’t fail or stop working after the missing log attempt.
The bot does create a daily log file in the moderation folder (for timeouts), so I assume it has permission to create folders/files. using that same moderation log file from my script does not work either (no new lines are added).
The only logging method that currently works is by using
$.log.warn, however this file gets messy with multiple scripts logging in it.