Skip to content

Commit

Permalink
log everything from files to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
atmos committed Nov 5, 2012
1 parent 918514a commit 2bb2691
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/log/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ void log_write(int log_id, unsigned priority, const char *cat, const char *func,
if (_log_open (log_id))
{
int len = create_log_entry (log_id, pre, line);
fprintf(stderr, "%s\n", line);
if (len > 0)
loglist[log_id].size += len;
}
Expand Down

0 comments on commit 2bb2691

Please sign in to comment.