chibineku Posted September 18, 2009 Report Share Posted September 18, 2009 (edited) 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? Edited September 18, 2009 by chibineku Link to comment Share on other sites More sharing options...
justsomeguy Posted September 23, 2009 Report 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 Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now