error.log - how frequently are logs written to?

I'm trying to debug an internal server error (.htaccess kickin my butt) and am looking for clarity via my /apache/error.log

except the log was last written to… an hour an a half ago.

how often are logs written to (so I can download and read locally), or is there a better "live" way to read (error) logs?

or, is there a config I can set to write at a greater frequency?

mjb

2 Replies

It'll write logs pretty much instantly. Use tail -f /path/to/log to monitor it live.

mjb,

If you're still having trouble with your .htaccess file post it (or at least the part that you suspect of causing the 500 error) and we'll take a look at it.

MSJ

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct