Re: Squirrel Loggen config problem
Don Levey <[email protected]> Thu, 20 Aug 2015 07:07:23 -0400
| Newsgroups | gmane.mail.squirrelmail.plugins |
|---|---|
| Message-ID | <[email protected]> |
On 8/19/2015 23:39, Paul Lesniewski wrote: > On 8/19/15, Don Levey <[email protected]> wrote: >> >> >> Well, I don't have a log file yet; that's kinda what I'm trying to do. > > Was a typo - I meant *configuration* file snippets..... > Ah, OK. They way I've been going,it was just as likely that had overlooked something. ... >> >> >From what I can tell, "ERROR" is commented out in both sections. Is >> there another section I've missed, where this might be set? > > Does look to be commented out everywhere. This likely means there is > another configuration file that is being read. Use find or locate to > help figure it out. Another fast way to see if a file is being used > -- only on non-production, low volume or private servers -- is to > introduce a PHP syntax error into the configuration file and see if it > causes SquirrelMail to malfunction (watch your logs too). RedHat does > move its configuration files around... > Syntax errors - THAT I'm good at. But your suggestions also gave me the idea to try to determine the code in which the plugin is looking for the config file. That led me to the functions.php file, in the sl_get_config function. There I saw that it would load config.php in the plugins directory only if it didn't find config_squirrel_logger.php in the main config directory. I looked at that file and found the mismatched ERROR lines. Uncommenting the ERROR line in sl_log_events allowed me to bypass the error. Thank you! Now to get it to write the log file into my log directory, using my system's filename format... -Don ------------------------------------------------------------------------------ ----- squirrelmail-plugins mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins