<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; service logs</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/service-logs/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Service log paths</title>
		<link>https://wiki.centos-webpanel.com/service-log-paths</link>
		<comments>https://wiki.centos-webpanel.com/service-log-paths#comments</comments>
		<pubDate>Wed, 26 Oct 2016 10:17:35 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[service logs]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=645</guid>
		<description><![CDATA[Location of the logs on the CWP servers Apache logs are in folder /usr/local/apache/logs (main logs) /usr/local/apache/domlogs (per domain logs are in the same file for apache&#038;nginx) Nginx logs are in folder /var/log/nginx/ /usr/local/apache/domlogs (per domain logs are in the same file for apache&#038;nginx) Mod Security (per domain logs, replace DOMAIN.COM) /usr/local/apache/domlogs/DOMAIN.COM.error.log CWP server logs [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Location of the logs on the CWP servers</strong></p>
<p><strong>Apache logs are in folder</strong></p>
<pre>/usr/local/apache/logs (main logs)
/usr/local/apache/domlogs (per domain logs are in the same file for apache&#038;nginx)
</pre>
<p><strong>Nginx logs are in folder</strong></p>
<pre>/var/log/nginx/
/usr/local/apache/domlogs (per domain logs are in the same file for apache&#038;nginx)
</pre>
<p><strong>Mod Security</strong> (per domain logs, replace DOMAIN.COM)</p>
<pre>/usr/local/apache/domlogs/DOMAIN.COM.error.log</pre>
<p><strong>CWP server logs and server services logs, including (PhpMyAdmin/Roundcube/API):</strong></p>
<pre>/usr/local/cwpsrv/logs/
/usr/local/cwp/php71/var/log/
</pre>
<p><strong>CWP WebServers rebuild log for vhosts including php-fpm conf:</strong></p>
<pre>
/var/log/cwp/webservers.log
</pre>
<p><strong>CSF &#038; LFD firewall logs</strong></p>
<pre>/var/log/lfd.log</pre>
<p><strong>SSH logs</strong></p>
<pre>/var/log/secure</pre>
<p><strong>Yum logs</strong></p>
<pre>/var/log/yum.log</pre>
<p><strong>FTP logs</strong></p>
<pre>/var/log/messages</pre>
<p><strong>PHP Mail Log</strong> (sent from php scripts)</p>
<pre>/usr/local/apache/logs/phpmail.log</pre>
<p><strong>Postfix / Mail</strong></p>
<pre>/var/log/maillog</pre>
<p>Failed SMTP Login example (mail client software: thunderbird, outlook):</p>
<pre>Jun 22 17:09:20 srv1 postfix/smtpd[14076]: warning: unknown[38.10.12.80]: SASL LOGIN authentication failed: UGFzc3df4mQ6</pre>
<p><strong>Dovecot and Dovecot debug logs</strong></p>
<pre>/var/log/dovecot.log
/var/log/dovecot-info.log
/var/log/dovecot-debug.log</pre>
<p><strong>Failed IMAP/POP3 Logins</strong><br />
/var/log/dovecot-info.log</p>
<p>Failed Login examle (mail client software: thunderbird, outlook):</p>
<pre>Jun 22 18:06:25 imap-login: Info: Disconnected (auth failed, 3 attempts): user=&lt;info@domain.com&gt;, method=PLAIN, rip=212.12.176.56, lip=5.196.100.13, TLS</pre>
<p>Failed Login example roundcube:</p>
<pre>Jun 22 17:59:22 imap-login: Info: Disconnected (auth failed, 1 attempts): user=&lt;username@domain.net&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured</pre>
<p>Success Login roundcube:</p>
<pre>Jun 22 18:14:20 imap-login: Info: Login: user=&lt;username@domain.net&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=26051, secured</pre>
<p>Success Login example (mail client software: thunderbird, outlook):</p>
<pre>Jun 22 18:16:51 pop3-login: Info: Login: user=&lt;username@domain.net&gt;, method=PLAIN, rip=212.12.176.56, lip=5.192.100.13, mpid=26464, TLS</pre>
<p><strong>Roundcube (CWP version 160+)</strong></p>
<pre>/usr/local/cwpsrv/var/services/roundcube/logs/</pre>
<p>example of /usr/local/cwpsrv/var/services/roundcube/logs/sendmail: </p>
<pre>[22-Jun-2018 21:15:39 +0000]: &lt;e1efa51l&gt; User username@domain.net [11.22.33.144]; Message for someuser@gmail.com; 250: 2.0.0 Ok: queued as E7B7B21244E7</pre>
<p>Failed Logins<br />
/usr/local/cwpsrv/var/services/roundcube/logs/errors</p>
<p>example /var/log/dovecot-info.log:</p>
<pre>Jun 22 17:59:22 imap-login: Info: Disconnected (auth failed, 1 attempts): user=&lt;username@domain.net&gt;, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured</pre>
<p><strong>MySQL logs</strong><br />
Please read this: <a href="https://mariadb.com/kb/en/error-log/" title="MySQL/MariaDB Error-Logs" target="_blank">https://mariadb.com/kb/en/error-log/</a></p>
<pre>/var/lib/mysql/HOSTNAME.err</pre>
<p><strong>Bind/Named logs</strong></p>
<pre>/var/log/messages</pre>
<p><strong>SSL Let's Encrypt logs:</strong></p>
<pre>/var/log/cwp/autossl.log
/root/.acme.sh/acme.sh.log</pre>
<p><strong>Admin Login Logs</strong></p>
<pre>/var/log/cwp_client_login.log</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/service-log-paths/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
