summaryrefslogtreecommitdiffstats
path: root/log.c
AgeCommit message (Collapse)Author
2022-04-06Some style nits.Nicholas Marriott
2021-09-10Merge branch 'obsd-master' into masterThomas Adam
2021-09-10Do fatal/fatalx a different way so the compiler trick to avoid warningsnicm
becomes unnecessary, prompted by theo.
2021-09-10Get rid of the last two warnings by turning them off around the problemnicm
statements, if the compiler supports it.
2021-08-25Merge branch 'obsd-master' into masterThomas Adam
2021-08-25Fix up some printflike attributes.nicm
2021-03-31Merge branch 'obsd-master' into masterThomas Adam
2021-03-31Do not exit if cannot write to normal log file, GitHub issue 2630.nicm
2019-09-25Merge branch 'obsd-master'Thomas Adam
2019-09-24Some minor performance improvements - most notably, don't search thenicm
input state table if the next character matches the same state as before.
2017-06-05Merge branch 'obsd-master'Thomas Adam
Conflicts: tmux.1 window.c
2017-06-04Support SIGUSR2 to stop and start logging for an existing server. Alsonicm
we currently only have two log levels so just use -v and -vv rather than -v and -vvvv, and clarify the man page entry for -v.
2017-02-05Merge branch 'obsd-master'Thomas Adam
2017-02-04Missing va_end, from Anton Lindqvist.nicm
2016-01-19Merge branch 'obsd-master'Thomas Adam
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-12-14Remove some stray debug code.nicm
2015-12-14Instead of combined flags for -c, -s, -t, split into different setsnicm
using an enum and simplify the parsing code.
2015-11-25Merge branch 'obsd-master'Thomas Adam
Conflicts: log.c proc.c tmux.c
2015-11-24Make the log stuff a bit tidier with some helper functions.nicm
2015-11-18Merge branch 'obsd-master'Thomas Adam
2015-11-18Use __unused rather than rolling our own.nicm
2015-11-18Merge branch 'obsd-master'Thomas Adam
2015-11-18Sync the entire xmalloc.[ch] with the other users, but with the additionnicm
of xrealloc, xvasprintf, xvsnprintf.
2015-10-17time.h is not needed now tzset() is not in log.c.Nicholas Marriott
2015-10-15Some header fixes.Nicholas Marriott
2015-09-24Merge branch 'obsd-master'Thomas Adam
2015-09-24Do not leak log file descriptor.nicm
2015-09-14Merge branch 'obsd-master'Thomas Adam
2015-09-14Move tzset() from log_open to main.nicm
2015-09-06Fix includesThomas Adam
Let compat/ work out the includes; otherwise works on OpenBSD.
2015-09-06Merge branch 'obsd-master'Thomas Adam
Conflicts: cfg.c tmux.c
2015-09-01Pass logging through vis(3).nicm
2015-08-30Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile format.c
2015-08-29Microseconds in log time.nicm
2015-08-28Merge branch 'obsd-master'Thomas Adam
2015-08-28Log time with message.nicm
2014-12-03Merge branch 'obsd-master'Thomas Adam
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert
2014-11-08No need for $Id$ now.Nicholas Marriott
2014-10-21Merge branch 'obsd-master'Thomas Adam
Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
2014-10-20Better format for printf format attributes.nicm
2014-05-13Linux: Add <time.h> to log.cThomas Adam
This is needed, otherwise tzset() is undefined.
2014-03-31Remove log_debug2 as well and simplify log.c.nicm
2014-03-31Remove unused log functions.nicm
2014-03-07Remove log_debug2 as well and simplify log.c.Nicholas Marriott
2014-03-07Remove unused log functions.Nicholas Marriott
2012-05-30Do not use stderr for log file and don't call log_close when not needed.Nicholas Marriott
2012-05-30Do not use stderr for log file and don't call log_close when not needed.Nicholas Marriott
2012-05-30Sync OpenBSD patchset 1123:Tiago Cunha
Simplify logging and just fprintf(stderr, ...) for early errors.