Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3153482
log.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
861 B
Referenced Files
None
Subscribers
None
log.c
View Options
/******************************************************************************
*******************************************************************************
**
** Copyright (C) 2004 Red Hat, Inc. All rights reserved.
**
** This copyrighted material is made available to anyone wishing to use,
** modify, copy, or redistribute it subject to the terms and conditions
** of the GNU General Public License v.2.
**
*******************************************************************************
******************************************************************************/
#include <syslog.h>
int log_is_open = 0;
int log_is_verbose = 0;
void log_set_verbose(void){
log_is_verbose = 1;
}
void log_open(const char *ident, int option, int facility){
openlog(ident, option, facility);
log_is_open = 1;
}
void log_close(void){
log_is_open = 0;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Feb 25, 7:51 PM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1464958
Default Alt Text
log.c (861 B)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment