Home | Mirror | Search

第 15 章 Logging

目錄

1. Remote Syslog

1. Remote Syslog

syslog

syslogd
----------------------
main {
	fork(){
		socket()

		threading{
			while buffer() {
				queue.add()
			}
		}

		socket.close()
	}
}

storage_engine
----------------------
main(){
		queue()
		format()
		save()
}

save(){
	open()
	write()
	close()
}

		
comments powered by Disqus