Just Host Web Hosting Help

Log Locations On Dedicated/VPS


There are two main locations where logs are kept on Dedicated and VPS servers. The /usr/local/cpanel/logs directory and the /var/log/ directory. Here is a list of the logs common to each directory.


  • access_log: cPanel access log for both cPanel and WHM
  • error_log: cPanel error log
  • license_log: cPanel license log
  • login_log: cPanel user login log
  • melange.log: cPanel chat server log
  • melange_msg.log: cPanel chat server message log
  • stats_log: cPanel web stats log


  • messages: Contains global system messages like mail, cron, daemon, kern, auth, etc.
  • bandwidth: cPanel total bandwidth logs for the entire server
  • chkservd.log: chkservd service log
  • clamav: clamav log directory
  • cpupdate.log: cPanel update log
  • exim_mainlog: Exim email transaction log
  • exim_paniclog: Exim error log
  • exim_rejectlog: Exim rejected email log
  • maillog: Transaction and login log for all mail services
  • pgsql: PostgreSQL log file

cPanel keeps the domain weblogs in the /usr/local/cpanel/domlogs directory for each domain name that is hosted on the server. This includes FTP transfer logs for each account.

Knowledgebase Article 18,537 views bookmark tags: dedi dedicated directory file folder list locations logs vps

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

This article will explain how to view the email logs on a Dedicated or VPS server. This may be usefull if you are experiencing trouble with your email.
Knowledgebase Article 21,951 views tags: dedi dedicated logs mail vps whm

There are many ways that you can transfer files and folder to and from your hosting account. We highly recommend using an FTP (File Transfer Protocol) program to quickly upload and download files. We
Getting Started Article 193,335 views tags: file files filezilla manager setup

An extensive list of the location of the configuration files of the most common web applications
Knowledgebase Article 182,027 views tags: scripting scripts

Related Help Content

This article will explain some common causes for 500 errors on Dedicated or V.P.S servers.
Knowledgebase Article 29,674 views tags: dedi dedicated error server vps

What are Raw Access Logs and how do I view them?
Knowledgebase Article 124,477 views tags: access log logs raw

If you suspect malicious content, hacks or a virus on your VPS/Dedicated account here are some tools located in your WHM that you can use.
Knowledgebase Article 23,100 views tags: clamav dedi dedicated malware virus vps

This article will explain where email is stored in your system directory.
Knowledgebase Article 33,390 views tags: backup email folder maildir mbox

This article will explain how to create and manage users on Dedicated or VPS servers.
Knowledgebase Article 21,838 views tags: dedi dedicated users vps

How to Stop A Directory Index From Being Shown
Knowledgebase Article 179,444 views tags: directory htaccess index

What are the Error Logs?
Knowledgebase Article 150,080 views tags: logs

This article will explain how to clear the outbound mail queue on a dedicated or VPS server.
Knowledgebase Article 24,992 views tags: dedi dedicated mail queue vps