Apache httpd error
1. conf ์ค์ (rsyslog ์ฌ์ฉ)
cd /etc/rsyslog.d/
vi /etc/rsyslog.d/80-httpd.conf2. conf ํ์ผ ์์ฑ
File = "๋ก๊ทธ ๊ฒฝ๋ก", Tag = "ํ๊ทธ", Severity = "์ฌ๊ฐ๋", programname ="โํ๋ก๊ทธ๋จ๋ช
"vi /etc/rsyslog.d/80-httpd.conf#variables required for non-syslog log file forwarding โ httpd error log file
#edit on your location
input(type=โimfileโ
File=โ/var/log/httpd/error_logโ
Tag=โhttpdโ
Severity=โerrorโ
Facility=โlocal7โณ)
###### Creates a template for each log file in the Logentries UI
### logic to apply the relevant templates to the different log files
if $programname == โhttpdโ then /var/log/plura/ceelog-127.0.0.1.log;CEETemplate
:programname, isequal, โhttpdโ stop3. rsyslog ๋ฐ๋ชฌ ์ฌ์์
4. ํ์ง ํ์ธ

์ฐธ๊ณ ์ฌ์ดํธ
Last updated