Skip to main content

One error_log per account with lsapi like PHP-FPM

Comments

5 comments

  • cPanelLauren
    Hello, mod_lsapi utilizes either the error_log or the sulsphp_log you can read more about these here: Troubleshooting
    0
  • MarkCanada
    Hello, mod_lsapi utilizes either the error_log or the sulsphp_log you can read more about these here:
    -1
  • cPanelLauren
    Hi @MarkCanada These logs aren't combined like the php-fpm logs are. The information added was where mod_lsapi logs its data for your reference.
    0
  • MarkCanada
    Hi @MarkCanada These logs aren't combined like the php-fpm logs are. The information added was where mod_lsapi logs its data for your reference.

    But I am looking at combining them. That's what I am trying to get. php-fpm combines them nicely and supposedly setting in htaccess: php_value error_log /home/USERNAME/logs/error_log or php.ini: error_log = /home/USERNAME/logs/error_log does it on an account basis (not sure if any of these works under mod_lsapi. Haven't tried since that's not what I am looking for). I am trying to apply this somehow on a server wide setting without having to do it manually for each account.
    0
  • cPanelLauren
    Hi @MarkCanada Anything you do in this respect is custom and not something specifically related to cPanel. You might look at the following on observing multiple log files: how to merge multiple files into one single file in linux " lost saloon
    0

Please sign in to leave a comment.