in reply to tfmail_application error_bad logfile name
Still, we can't answer your question without knowing what some of your perl code looks like, especially the part that includes line 1048 in that file. The message says you are trying to use a bad logfile name, and it looks like the value you have for the file name may be an empty string, or something that is not a visible character (e.g. space, tab, carriage-return or line-feed, or some control-character maybe).
Your config data shows that you have a directory path and a file name extension for the log file. So how are you setting the actual file name (the part that goes between the path and the extension)? Is this being stored in a scalar variable? How/where is that scalar value set in your code?
Look at line 1048 in your script, figure out how the log file name is being supplied there, and then, if it's a scalar variable that is supposed to be holding the file name, search around in the script to see whether a value is being assigned to that variable. If you find that, show us the relevant parts of the code (just the parts that determine how the file name is assigned). If you don't find it, that's probably the root cause of the problem -- a file name value needs to be provided.
I don't think this has anything at all to do with using Notepad to create an initial log file. Don't worry about that. The logging process should create the file if it does not exist, and append to it when it does exist.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: tfmail_application error_bad logfile name
by PodMaster (Abbot) on Oct 05, 2005 at 01:05 UTC | |
Re^2: tfmail_application error_bad logfile name
by Anonymous Monk on Dec 09, 2016 at 07:51 UTC | |
by Corion (Patriarch) on Dec 09, 2016 at 07:59 UTC |