Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Member
    Join Date
    Oct 2010
    Posts
    34

    Default [Case 44415] Separate domain Apache ErrorLogs

    cPanel currently logs all Apache error logs to a centralized error_log file in /usr/local/Apache/logs.

    Whilst one can manually edit the vhost template to setup per domain error logs, it would be nice if there was an option in cPanel to enable this as well as have it as a default setting.

    It makes sense for clients to be able to debug their scripts by monitoring their own error logs; rather than running to the host to find out why so and so isn't working or they're getting a random 500 internal server error, especially with suphp enabled by default which will throw a lot of these if the files aren't owned a specific way or given the appropriate permissions.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by zamrg View Post
    cPanel currently logs all Apache error logs to a centralized error_log file in /usr/local/Apache/logs.

    Whilst one can manually edit the vhost template to setup per domain error logs, it would be nice if there was an option in cPanel to enable this as well as have it as a default setting.

    It makes sense for clients to be able to debug their scripts by monitoring their own error logs; rather than running to the host to find out why so and so isn't working or they're getting a random 500 internal server error, especially with suphp enabled by default which will throw a lot of these if the files aren't owned a specific way or given the appropriate permissions.
    It seems you are describing the already existing per-domain logs stored in /usr/local/apache/domlogs/(cPanel Username)/?

    Your users can download them by logging in via FTP, just append _logs to their username and use the same password they use for cPanel.

  3. #3
    Member
    Join Date
    Oct 2010
    Posts
    34

    Default

    Quote Originally Posted by cPanelDavidG View Post
    It seems you are describing the already existing per-domain logs stored in /usr/local/apache/domlogs/(cPanel Username)/?

    Your users can download them by logging in via FTP, just append _logs to their username and use the same password they use for cPanel.
    something may be wrong on my end but I don't have a folder under domlogs/ for each user.

    With the default vhost template, I have a domain.tld log file which shows apache access events and I have a domain.tld-bytes_log for recording bw.

    There is no domain.tld-error_log which is why I manually edited the local vhost file to add a ErrorLog directive so that each domain has it's own error log.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by zamrg View Post
    something may be wrong on my end but I don't have a folder under domlogs/ for each user.
    <<Redacted feedback not relevant to the core feature request regarding error_logs>>

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Correction: error_logs are not separated.

    Let me see what I can do to push things along on my end with this feature request.

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: [Case 44415] Separate domain Apache ErrorLogs

    I have submitted a report requesting this functionality to our developers. I will update this thread with ETAs if/when they become available.

  7. #7
    Member
    Join Date
    Jan 2010
    Posts
    70

    Default re: [Case 44415] Separate domain Apache ErrorLogs

    Definately a +1 from me. This feature is much-needed. Is there any information on the progress being made?

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    Quote Originally Posted by Vliegtuig View Post
    Definately a +1 from me. This feature is much-needed. Is there any information on the progress being made?
    Our developers and techs are working together to find a solution to this. We hit a few snags so this may not be available in the next few months, but as we move forward, this thread will be updated.

  9. #9
    Member
    Join Date
    Dec 2010
    Posts
    5

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    +1 from me too.

  10. #10
    Member
    Join Date
    Dec 2011
    Posts
    14
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    My employer just purchased CPanel and I am in the process of migrating all our accounts/websites from the old web server (that was running custom software) to the new web server with CPanel/WHM. This is a much needed feature yet I notice that it has been over a year since someone requested it.

    A Support person suggested I lend my voice to this thread in the hopes it will be implemented faster, unless faster means the next 2-3 days then I am probably going to have to alter/add the appropiate feature myself into CPanel/WHM. This would then mean I will probably never be able to update CPanel/WHM as my changes will probably get lost.

    Do updates happen very often? If they are 2 times a year or less frequent then I'll most likely go ahead and add the feature in and never worry about updating CPanel/WHM. As it is there are several other things I would like to see improved/added anyway.

  11. #11
    Registered User
    Join Date
    Dec 2011
    Posts
    1
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    +1 for this as well.

  12. #12
    Registered User
    Join Date
    Apr 2008
    Posts
    1

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    +1.

    I would also like to view separate error logs on per account/domain basis.

  13. #13
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    Update: This is still in the planning phases, but I just wanted to give a head's up that we are aware of how Apache 2.4 can greatly assist with this and we are investigating those possibilities. However, it's merely an investigation at this time, there is no word yet if this functionality would rely on a specific version of Apache or not.

  14. #14
    Registered User
    Join Date
    Dec 2004
    Posts
    1

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    Apache 2.4 was released last month. Any word on how the investigation for this feature is going?

  15. #15
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [Case 44415] Separate domain Apache ErrorLogs

    Quote Originally Posted by mysteryguest View Post
    Apache 2.4 was released last month. Any word on how the investigation for this feature is going?
    It's moving along. We just found some directives that we'll need to customize to accommodate Apache 2.4 since some older directives used in Apache 2.2 are now no longer used. We'll just re-tool EA to use the new directives instead when Apache 2.4 is selected.

Similar Threads & Tags
Similar threads

  1. Filed with Developers WHM apache configuration directives of MPMs [Case 56131, Case 52321]
    By Branko in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 02-22-2012, 10:37 AM
  2. [Case 50769] Separate Mysql database limit; don't combine with Postgres limit
    By jpratt in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 08-31-2011, 12:18 PM
  3. Apache HTTP Server 2.2.19 Released [Case 50042, Case 50053]
    By sparek-3 in forum Archived Feature Requests
    Replies: 8
    Last Post: 05-26-2011, 02:20 PM
  4. Separate http and https apache directories
    By alex2005 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-03-2005, 11:55 AM
  5. forwarding all mail to different email at separate domain
    By bobbybobbertson in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-17-2003, 02:55 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube