95b204be05
Use sudo is available, fall back to su.
2021-01-24 13:34:30 +00:00
3e5a3e0e85
Version 0.3.1 - Open input for read-write to avoid blocking.
2020-06-15 04:11:58 +01:00
bc9652f156
Version 0.3.0 - support per second templates if required.
...
Previously lumberjack was limited to per minute log files as the main
loop would only be executed every minute if there were no log lines to
be written. The timeout is now calculated as a fraction of the second,
causing the read to timeout every second if there are no log lines to
write. This allows the template to roll over every second if
necessary, allowing per second logfiles.
2020-06-14 17:23:35 +01:00
1adf0ee2b9
Version 0.2.2.
...
Remove -g option as it was broken and would never work.
Open and read from file descriptor for input rather than keep accessing a file.
Re-worked code around the user changing facility - it now actually works \o/.
Minor tweeks to the help text.
2020-06-14 16:03:43 +01:00
8bf8462b1d
Use _ as site seperator, and - as word seperator in FLAGS.
2020-06-13 15:14:54 +01:00
b86c826101
Updates for v0.2.1.
...
Add -o option to set the ownership of the pipe/FIFO when created by lumberjack.
Move su/sg user/group changing after pipe/FIFO creation.
Use -n rather than ! -z to quiet shellcheck. *sigh*
Minor corrections of --help output.
Add note about profiles to TODO list.
2020-06-13 14:57:54 +01:00
0553809308
Some documentation touch-ups.
2020-06-06 22:02:06 +01:00
4576619ae7
Version 0.2.0 - major refactoring of code, and new features.
2020-06-06 20:49:13 +01:00
80c08901e6
Update copyrights. Minor formatting touch-ups.
2020-05-31 18:57:06 +01:00
1c860fdfe5
Bump version
2018-05-13 21:04:19 +01:00
5ba70dc00c
Merge branch 'master' of https://afterdark.org.uk/git/tadgy/lumberjack
2018-05-13 20:57:18 +01:00
c0dd3d4d8e
Don't process empty log lines - fixes a bug that manifests itself with proftpd wherein every log line is followed by an empty one.
2018-05-13 20:56:12 +01:00
711576970a
Update 'README.md'
2018-04-22 17:41:21 +00:00
4b637707c7
Update 'README.md'
2018-04-22 17:35:50 +00:00
003995a473
Updae README.md
2018-04-22 17:22:30 +00:00
011ea3bfb2
Removed -h from disown
2018-04-22 01:53:10 +01:00
6e4bf7d7d7
Merge branch 'master' of https://67.afterdark.org.uk/git/tadgy/lumberjack
2018-04-21 22:14:22 +01:00
8fcd02bd48
disown backgrounded jobs before exiting
2018-04-21 22:13:18 +01:00
8ada5bc4a6
Exit when read returns 1 and reading from stdin
2018-04-21 19:46:14 +01:00
8e59516ab5
Added check for absolute path to -i
2018-04-21 18:31:23 +01:00
8deb4e6d4e
ERR -> LJ_ERR
2018-04-20 03:11:34 +01:00
856aa0f7fe
Update 'README.md'
2018-04-18 22:43:58 +00:00
77649cc226
Bump version.
2018-04-18 19:34:44 +01:00
b2dae9022a
Update help text. Add sanity check for {} in link name in raw mode.
2018-04-18 19:32:48 +01:00
4f133edc96
Re-worked reading from the input stream/fifo.
2018-04-18 19:00:59 +01:00
d8dc7d936f
Bump version
2018-04-17 21:54:00 +01:00
295a89d9af
Updated code to maintain symlink
2018-04-17 21:52:46 +01:00
99ac5d03ea
Updated code to create symlink
2018-04-17 19:54:43 +01:00
566afc42a8
New link handling
2018-04-17 18:00:48 +01:00
35e463cae4
Added -p to mkdir to allow recursive creation of logs directory
2018-04-17 15:40:15 +01:00
b2f17b2abd
Allow --help to display help
2018-04-17 15:03:21 +01:00
a6b5c8a109
Update 'README.md'
2018-04-14 16:00:52 +00:00
58ad07bcc3
Update 'README.md'
2018-04-14 14:58:47 +00:00
50a7edf5d4
Update 'README.md'
2018-04-14 13:08:51 +00:00
702d380d98
Updated TODO.md
2018-04-14 11:50:27 +00:00
8e8a3c5dc4
Change docs to .md
2018-04-14 12:47:43 +01:00
de4fef748c
Remove debugging output.
2018-04-12 21:30:45 +01:00
b9f45b1a83
Initial commit
2018-04-12 19:57:19 +01:00