rsyslogdの設定とか [ZoneMinder]
ZoneMinderを使い始めるとすぐに気づきますが、30秒単位でsyslogに
Mar 10 15:59:15 ws zmc_dvideo0[20673]: INF [Monitor-1: 121246000 - Capturing at 30.30 fps]
などと書き込まれて、ちょっと鬱陶しいわけです。
ということで、/var/log/zmの下に、zm_video.logを作りそこに吐かせることにします。
# vi /etc/rsyslog.d/30-zm.conf
で、30-zm.confに
:programname, contains, "zmc_dvideo0" /var/log/zm/zm_video.log
:programname, contains, "zmc_dvideo0" ~
を追記。
また、ログローテーションを /etc/logrotate.d にファイルをつくって設定します。
# vi /etc/logrotate.d/zm
--
/var/log/zm/zm_video.log {
rotate 1
daily
missingok
notifempty
compress
delaycompress
}
--
あとは、
# service rsyslog restart
でOK
タグ:ログローテションの設定
Cheap Prevacid Amoxil And Ear Infections Viagra order a prepaid visa <a href=http://getpharmacyonline.com>cialis online</a> Canada Pharmacy Mebendazole Dapoxetina In Italia Acheter Du Cialis 10 Mg Pfizer Levitra <a href=http://levicost.com>levitra samples</a> Oral Amoxicillin For Macaw
by Jeashibia (2019-01-20 07:49)
Cialis 10 Opiniones <a href=http://oc-35.com>proscar no script</a> Cialis Impuissance Masculine Cialis 5 20 Viagra Tiene Vencimiento Doxycycline 10mg <a href=http://kamagpills.com></a> Priligy For Sale Uk Buy Real Viagra <a href=http://erxbid.com>venta cialis madrid</a> Vendita Viagra Originale Buy Zithromax
by Jeashibia (2019-01-31 03:17)
Cialis Generique Apcalis Shelf Life Of Amoxil <a href=http://ciali20mg.com>cheapest cialis</a> Keflex Antibiotic
by AustJath (2019-04-30 02:56)
Pfizer Vgr 100 Buy Zithromax For Cats Can You Drink Alchol Wiht Amoxicillin <a href=http://oc-35.com>finasteride 5 mg for sale</a> Buy Benazepril Hydrochloride Australia Prezzo Pastiglie Cialis
by AustJath (2019-05-30 09:57)
Fast Shipping Viagra Online Propecia Flomax Buy Synthroid Online Without Rx <a href=http://cialibuy.com>cheapest cialis 20mg</a> Healtyman Viagra Viagra Feminin
by StevBiaddy (2020-01-19 01:18)
Clobetasol 30g Eczema Website https://buyciallisonline.com/# - Buy Cialis Propecia Igual <a href=https://buyciallisonline.com/#>cialis prices</a> Finasteride Isotretin Best Website
by StevBiaddy (2020-02-16 14:46)
Viagra Y Cialis Comprar <a href=https://buyciallisonline.com/#>Cialis</a> Cialis Cuanto Tiempo Antes <a href=https://buyciallisonline.com/#>purchase cialis online cheap</a> need isotretinoin isotret best website overseas
by Jansyhorgo (2020-04-03 09:39)
https://hcialischeapc.com/ - buy online cialis
by Scogywogy (2021-03-20 10:16)
Having fun with these posts
by sba lending (2021-06-30 11:53)
Have a great day
by startup funding (2021-06-30 11:54)
I was studying with my friends and I could not finish it clearly, but my mom recommended this article. This article is very helpful for me. I will recommend it to my friends when I go to work tomorrow. https://ahifla.com
by 토토사이트 (2023-06-28 16:39)