chibineku Posted September 18, 2009 Share Posted September 18, 2009 I can manually made my apache error log take a new line by concatenating ."\r\n" to the end of any error_log statement, but how do I make automatic error messages take a new line? I have error reporting on all, and I get warnings if I check for a variable presence and it's not set, as happens on a lot of pages, and I get this huge amorphous mess of errors. Any way to make that happen automatically? Link to comment Share on other sites More sharing options...
justsomeguy Posted September 23, 2009 Share Posted September 23, 2009 It should be adding newlines automatically. If you're opening the logs in Notepad, try a different editor. I don't think Notepad allows just \n as a newline. Wordpad will read the files correctly, there are also several programming editors that won't have an issue. Link to comment Share on other sites More sharing options...
chibineku Posted September 23, 2009 Author Share Posted September 23, 2009 Ah, right you are - it opened in notepad automatically, but it's fine in ConTEXT. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.