redleu

Registered
Nov 26, 2020
1
0
1
France
cPanel Access Level
Root Administrator
Hi everyone,

we are currently troubleshooting our platform, trying to find out the root cause of a huge TTFB delay on some random HTTP GET operations.
For this, and also to improve our monitoring solution later on, i'd like to customize the Apache logformat and add %D to the list of info to retrieve.
This will display the " The time taken to serve the request".

I'd like to know if anyone already put that in prod and if there are any tricks to know or to take care of?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,280
2,434
363
cPanel Access Level
Root Administrator
Hey there! The best way to modify Apache on a cPanel server to adjust the log files would be to edit the template using the details here:


I personally haven't tried using that value to look for TTFB issues, but it's certainly possible other users here have, so they may reply with their thoughts if they see this thread.