• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

custom logfile?

#1
I would like to know if it is possible to create a custom logfile integrated in the tools->logs system.
I want to store there important information coming from cronjobs.
 

Rigel Kentaurus

Well-known member
#2
I would like to know if it is possible to create a custom logfile integrated in the tools->logs system.
I want to store there important information coming from cronjobs.
I think it would be nice to have this in XenForo Suggestions

There isn't a way that I know of, and it would be incredibly useful...

In the very beginning I was doing a XenForo_Error::log, but I had to stop because people are not used to see "INFO" messages in the error log. And in XenForo 1.2 the devs added a nagging screen on the admincp whenever there is an error so that didn't help at all

You could, rollout your own, which really is duplicating the error log.... that seems to be what the devs have done because we have the spam log, the spam cleaner log, the proxy log, the user change log, the moderator log .....

Or, you could go Vanilla and store things in the file system. The directory internal_data is writable by default so you could create a .log file and append to it. It wouldn't be accessible from the AdminCP, of course, depending on your needs.