Syslog-ng 源代码

syslog-ng是一款高性能的日志管理解决方案,专为满足现代IT环境的需求而设计。它支持多种日志收集协议,能够从网络设备、服务器及应用程序中高效地收集、处理并存储日志信息,特别适用于网络安全监控、故障排查以及合规性审计等场景。通过使用syslog-ng,工程师可以轻松实现日志数…

收录资源 500 份 全站深度检索
源码文件

#include #include #include int main() { int logmask; openlog("logmask", LOG_PID|LOG_CONS, LOG_USER); syslog(LOG_I…

源码文件

#include #include int main() { FILE *f; f = fopen("not_here","r"); if(!f) syslog(LOG_ERR|LOG_USER,"oops - …

源码文件

#! /usr/bin/env python import syslog journaux = [ "/var/log/messages" ] for journal in journaux: fichier = op…

源码文件

/* * Logging facility * * #define _USE_SYSLOG if you want to use logging via a socket to syslogd * instead of logging to a fil…

源码文件

/* * Logging facility * * #define _USE_SYSLOG if you want to use logging via a socket to syslogd * instead of logging to a fil…

源码文件

/* * setlevel.c -- choose a console_loglevel for the kernel * * Copyright (C) 1998,2000,2001 Alessandro Rubini * * This pr…

源码文件

/* msgf.c : * * Format and log a server message : */ #include #include #include #include #include #include #include #in…

源码文件

#include #include #include #include #include #include #include #include /////////////////////////////////////////////////…

源码文件

/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2002-2003 Maxim Krasnyansky * Copyright (C) 2002-200…