diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2016-01-24 15:45:47 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2016-01-24 15:45:47 +0900 |
commit | b68f6b0a794f9e6cb6457a0ac55041c4e7b1a5cb (patch) | |
tree | 5850c54ef1f07c80b32435646470b4b6947abf89 /src/journal-remote/journal-remote-write.h | |
parent | 9d5a981398accce14ce0e824122c6748728b4631 (diff) |
journal-remote: make --url option support arbitrary url
Currently, --url option supports the only form like http(s)://some.host:19531.
This commit adds support to call systemd-journal-remote as follwos:
systemd-journal-remote --url='http://some.host:19531'
systemd-journal-remote --url='http://some.host:19531/'
systemd-journal-remote --url='http://some.host:19531/entries'
systemd-journal-remote --url='http://some.host:19531/entries?boot&follow'
The first three example result the same and retrieve all entries.
The last example retrieves only current boot entries and wait new events.
Diffstat (limited to 'src/journal-remote/journal-remote-write.h')
0 files changed, 0 insertions, 0 deletions