Local7 hauv syslog yog dab tsi?
Local7 hauv syslog yog dab tsi?

Video: Local7 hauv syslog yog dab tsi?

Video: Local7 hauv syslog yog dab tsi?
Video: LPIC 108.2 часть первая. Журналирование событий: syslog 2024, Kaum ib hlis
Anonim

Re: Koog Tsev yog dab tsi Hauv zos 7

Qhov chaw sau npe ntawm 7 ( Hauv zos 7 ) sawv cev rau "network news subsystem" (saib cov lus hauv qab no) uas yog siv thaum lub network tsim syslog lus. Tus nqi Facility yog ib txoj hauv kev los txiav txim seb cov txheej txheem ntawm lub tshuab tsim cov lus twg.

Ua kom pom qhov no, qhov chaw syslog yog dab tsi?

Syslog Facilities . Cov qhov chaw sawv cev rau cov txheej txheem tshuab uas tsim cov syslog xwm txheej. Piv txwv li, yog qhov xwm txheej tsim los ntawm cov ntsiav, los ntawm kev xa ntawv, los ntawm kev ruaj ntseg / kev tso cai, thiab lwm yam?

Tom qab ntawd, lo lus nug yog, dab tsi yog qib syslog? Qib hnyav

VALUE TSIS MUAJ KEYWORD
4 Ceeb toom ceeb toom
5 Daim ntawv ceeb toom ceeb toom
6 Qhia paub cov ntaub ntawv
7 Debug debug

Ib yam li ntawd, tib neeg nug, hauv zos0 yog dab tsi?

Cov chaw zos 0 rau hauv zos7 yog "kev cai" tsis siv cov chaw uas syslog muab rau tus neeg siv. Yog tias tus tsim tawm tsim ib daim ntawv thov thiab xav ua kom nws nkag rau syslog, lossis yog tias koj xav hloov pauv cov khoom tawm ntawm txhua yam rau syslog (piv txwv li, Apache cav), koj tuaj yeem xaiv xa nws mus rau ib qho ntawm hauv zos # chaw.

Kuv yuav nrhiav tau kuv qhov chaw syslog li cas?

Chaw yog hom lus, xws li cov ntsiav lossis xa ntawv. Thiab qib yog qib hnyav ntawm cov lus. Yog li ntawd rau txiav txim tus qhov chaw tus nqi ntawm a syslog lus peb faib tus nqi tseem ceeb los ntawm 8. Qhov seem yog tus nqi theem.

Pom zoo: