{"id":29965,"date":"2021-01-18T02:44:51","date_gmt":"2021-01-17T18:44:51","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=29965"},"modified":"2022-09-08T21:33:58","modified_gmt":"2022-09-08T13:33:58","slug":"cpanel-application-log-files-location","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/cpanel-application-log-files-location","title":{"rendered":"cPanel Application Log Files Location"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

cPanel Application Log Files Location<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

First, this is a shortlist of a variety of log documents for different applications on your cPanel VPS<\/a>.<\/p>

cPanel Installation Logs:<\/b>Code:
\/var\/log\/cpanel-install-thread0.log<\/em><\/p>

Apache:<\/strong>Code:
\/usr\/local\/apache\/logs\/access_log<\/em>
\/usr\/local\/apache\/logs\/error_log<\/em><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t

domlogs:<\/strong>Code:
\/usr\/local\/apache\/domlogs\/example.com<\/em>

SUEXEC Logs:<\/strong>Code:
\/usr\/local\/apache\/logs\/suexec_log<\/em>

MySQL<\/strong>Code:
\/var\/lib\/mysql\/hostname.err<\/em>

BIND (named) Log:<\/strong>Code:
\/var\/log\/messages<\/em>

Exim<\/strong>Code:
\/var\/log\/exim_mainlog<\/em>
\/var\/log\/exim_paniclog<\/em>
\/var\/log\/exim_rejectlog’<\/em>

Courier or Dovecot IMAP<\/strong>Code:
\/var\/log\/maillog<\/em>

Tomcat Logs:<\/strong>Code:
\/usr\/local\/jakarta\/tomcat\/logs\/catalina.err<\/em>
\/usr\/local\/jakarta\/tomcat\/logs\/catalina.out<\/em>

Access Log:<\/strong>Code:
\/usr\/local\/cpanel\/logs\/access_log<\/em>

Error Log:<\/strong>Code:
\/usr\/local\/cpanel\/logs\/error_log<\/em>

License Log:<\/strong>Code:
\/usr\/local\/cpanel\/logs\/license_log<\/em>

Stats Execution Logs:<\/strong>Code:
\/usr\/local\/cpanel\/logs\/stats_log<\/em>

ChkServd (cPanel Monitoring Daemon) Logs:<\/strong>Code:
\/var\/log\/chkservd.log<\/em>
cPHulkdCode:<\/em>
\/usr\/local\/cpanel\/logs\/cphulkd.log<\/em>

cPanel Backup Logs:<\/strong>Code:
\/usr\/local\/cpanel\/logs\/cpbackup\/*.log<\/em>

Pure-FTP<\/strong>Code:
\/var\/log\/messages<\/em>
\/var\/log\/xferlog (symlinked to \/usr\/local\/apache\/domlogs\/ftpxferlog)<\/em>

Cron Logs:<\/strong>Code:
\/var\/log\/cron<\/em>

SSH Logs:<\/strong>Code:
\/var\/log\/secure<\/em>

ModSecurity:<\/b>Code:
\/usr\/local\/apache\/logs\/modsec_audit.log<\/em>
\/usr\/local\/apache\/logs\/modsec_debug_log<\/em><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t

Install this plugin to view\/check\/delete\/rotate\/tail logs files<\/p>

PHP Code:<\/em><\/p>

LogView\u00a0Installation
wget\u00a0http:\/\/www.logview.org\/logview-install
chmod\u00a0+x\u00a0logview-install
.\/logview-install
rm\u00a0-f\u00a0logview-<\/em>install\u00a0<\/em><\/code><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\tCheck out the next guide on HOW TO: Create a cronjob in cPanel<\/a>.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"

cPanel Application Log Files Location First, this is a shortlist of a variety of log documents for different applications on your cPanel VPS. cPanel Installation Logs:Code: \/var\/log\/cpanel-install-thread0.log Apache:Code: \/usr\/local\/apache\/logs\/access_log \/usr\/local\/apache\/logs\/error_log domlogs:Code: \/usr\/local\/apache\/domlogs\/example.com SUEXEC Logs:Code: \/usr\/local\/apache\/logs\/suexec_log MySQLCode: \/var\/lib\/mysql\/hostname.err BIND (named) Log:Code: \/var\/log\/messages EximCode: \/var\/log\/exim_mainlog \/var\/log\/exim_paniclog \/var\/log\/exim_rejectlog’ Courier or Dovecot IMAPCode: \/var\/log\/maillog Tomcat Logs:Code: \/usr\/local\/jakarta\/tomcat\/logs\/catalina.err \/usr\/local\/jakarta\/tomcat\/logs\/catalina.out Access […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[117],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29965"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=29965"}],"version-history":[{"count":5,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29965\/revisions"}],"predecessor-version":[{"id":36578,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29965\/revisions\/36578"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=29965"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=29965"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=29965"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=29965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}