3cea8e06e45fc1757de8f74da29fb5fb181db4eb |
|
03-Feb-2016 |
Michal Sekletar <msekleta@redhat.com> |
man: clarify what happens when journalctl is called with devpath |
69e714f3d8784fb0207ac9112ed1a48d4fd5e9fe |
|
01-Feb-2016 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add new --fields switch to dump all currently used field names
Fixes #2176 |
dbd6e31cf91ab86a4a2fffeb50ccef211da3126d |
|
11-Nov-2015 |
Lennart Poettering <lennart@poettering.net> |
journalctl: make --rotate synchronous, too
Of course, ideally we'd just use normal synchronous bus calls, but this
is out of the question as long as we rely on dbus-daemon (which logs to
journald, and thus cannot use to avoid cyclic sync loops). Hence,
instead, reuse the wait logic already implemented for --sync, and use a
signal in one direction, and a mtime watch file for the reply. |
94b6551662e0db8eb09768ed70f77759f322b4c6 |
|
11-Nov-2015 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add new --sync switch for syncing the journal to disk
With this new "--sync" switch we add a synchronous way to sync
everything queued to disk, and return only after that's complete. This
command gives the guarantee that anything queued before has hit the disk
before the command returns.
While we are at it, also improve the man pages and help text for
journalctl a bit. |
20b2aec031f79018d290b8f42ab6c3e1116f2d89 |
|
10-Nov-2015 |
Jan Synacek <jsynacek@redhat.com> |
man/journalctl: mention systemd.time(7) where appropriate
Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1182661 |
a8eaaee72a2f06e0fb64fb71de3b71ecba31dafb |
|
06-Nov-2015 |
Jan Engelhardt <jengelh@inai.de> |
doc: correct orthography, word forms and missing/extraneous words |
b938cb902c3b5bca807a94b277672c64d6767886 |
|
06-Nov-2015 |
Jan Engelhardt <jengelh@inai.de> |
doc: correct punctuation and improve typography in documentation |
f2c624cb8b096686e94b2997a9dc95e13d865744 |
|
02-Nov-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: various typos |
20d936ba8167f4224cd01903e97fa852c00c0988 |
|
23-Oct-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
journalctl: clarify -q option
-q suppresses info messages too |
66f529249a6b3c3391e732cba44482a498153e16 |
|
13-Oct-2015 |
Jan Synacek <jsynacek@redhat.com> |
journalctl: introduce short options for --since and --until
Fixes #1514. |
fd8d05e9b85c7973339e58d9bc1e5ccd4f5c98b7 |
|
03-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
man: fix journalctl --syslog-identifier= documentation
We don't actually accept patterns, hence don't claim so. This is a
fix-up for 730836403aee5f5bb998e6e3622ea7068fce0699.
Fixes #1256. |
8580d1f73db36e9383e674e388b4fb55828c0c66 |
|
02-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
journal: rework vacuuming logic
Implement a maximum limit on number of journal files to keep around.
Enforcing a limit is useful on this since our performance when viewing
pays a heavy penalty for each journal file to interleve. This setting is
turned on now by default, and set to 100.
Also, actully implement what 348ced909724a1331b85d57aede80a102a00e428
promised: use whatever we find on disk at startup as lower bound on how
much disk space we can use. That commit introduced some provisions to
implement this, but actually never did.
This also adds "journalctl --vacuum-files=" to vacuum files on disk by
their number explicitly. |
b92eb84cc8e120da8dca0e91167a616b2f15dbe5 |
|
30-Sep-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
man: journalctl: add info about --rotate |
1d3eaa93616a2e9f6568b754a65c884766bac6c4 |
|
29-Jun-2015 |
Jay Strict <jay.strict@posteo.de> |
man: remove repeated word "the" and polish |
12b42c76672a66c2d4ea7212c14f8f1b5a62b78d |
|
18-Jun-2015 |
Tom Gundersen <teg@jklm.no> |
man: revert dynamic paths for split-usr setups
This did not really work out as we had hoped. Trying to do this upstream
introduced several problems that probably makes it better suited as a
downstream patch after all. At any rate, it is not releaseable in the
current state, so we at least need to revert this before the release.
* by adjusting the path to binaries, but not do the same thing to the
search path we end up with inconsistent man-pages. Adjusting the search
path too would be quite messy, and it is not at all obvious that this is
worth the effort, but at any rate it would have to be done before we
could ship this.
* this means that distributed man-pages does not make sense as they depend
on config options, and for better or worse we are still distributing
man pages, so that is something that definitely needs sorting out before
we could ship with this patch.
* we have long held that split-usr is only minimally supported in order
to boot, and something we hope will eventually go away. So before we start
adding even more magic/effort in order to make this work nicely, we should
probably question if it makes sense at all. |
681eb9cf2b831293a4f3d4c48a748d2e4a25d69e |
|
28-May-2015 |
Filipe Brandenburger <filbranden@google.com> |
man: generate configured paths in manpages
In particular, use /lib/systemd instead of /usr/lib/systemd in distributions
like Debian which still have not adopted a /usr merge setup.
Use XML entities from man/custom-entities.ent to replace configured paths while
doing XSLT processing of the original XML files. There was precedent of some
files (such as systemd.generator.xml) which were already using this approach.
This addresses most of the (manual) fixes from this patch:
http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220
The idea of using generic XML entities was presented here:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html
This patch solves almost all the issues, with the exception of:
- Path to /bin/mount and /bin/umount.
- Generic statements about preference of /lib over /etc.
These will be handled separately by follow up patches.
Tested:
- With default configure settings, ran "make install" to two separate
directories and compared the output to confirm they matched exactly.
- Used a set of configure flags including $CONFFLAGS from Debian:
http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules
Installed the tree and confirmed the paths use /lib/systemd instead of
/usr/lib/systemd and that no other unexpected differences exist.
- Confirmed that `make distcheck` still passes. |
c4f54721175bde35e2051d61d3d23285def9619d |
|
02-Apr-2015 |
Lennart Poettering <lennart@poettering.net> |
man: don't mention "journalctl /dev/sda"
It never worked, and nobody ever worked on it, hence don't mention it. |
42d8fafc4bb2f890688e25fe886f88b54ce2c1e3 |
|
19-Jan-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: mention "wheel" and "adm" in journalctl(1)
https://bugs.freedesktop.org/show_bug.cgi?id=70866 |
49fba678a0e2c30df0d2ccefab731beb3955a473 |
|
19-Jan-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: reindent journalctl(1)
Reindent with two spaces, use non-breaking spaces, add <literal> tags. |
dbd2a83fbf051fc51bdca3aa7536c78479488c5b |
|
03-Nov-2014 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add new --vacuum-size= and --vacuum-time= commands to clean up journal files based on a size/time limit
This is equivalent to the effect of SystemMaxUse= and RetentionSec=,
however can be invoked directly instead of implicitly. |
2a97b03b3b087e724867e7501ae0c1535ee35031 |
|
01-Nov-2014 |
Umut Tezduyar Lindskog <umut.tezduyar@axis.com> |
man: explain journalctl --flush correctly |
74055aa76278232ff05574fc47c4e6b3560554a7 |
|
23-Oct-2014 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add new --flush command and make use of it in systemd-journal-flush.service
This new command will ask the journal daemon to flush all log data
stored in /run to /var, and wait for it to complete. This is useful, so
that in case of Storage=persistent we can order systemd-tmpfiles-setup
afterwards, to ensure any possibly newly created directory in /var/log
gets proper access mode and owners. |
9fd290443f5f99fca0dcd4216b1de70f7d3b8db1 |
|
02-Oct-2014 |
Jan Synacek <jsynacek@redhat.com> |
journalctl: add --utc option
Introduce option to display time in UTC. |
48382487666af141bb4385ceb5fb73c4147f6141 |
|
31-Aug-2014 |
Jan Janssen <medhefgo@web.de> |
journalctl: Allow to disable line cap with --lines=all |
730836403aee5f5bb998e6e3622ea7068fce0699 |
|
21-Aug-2014 |
Harald Hoyer <harald@redhat.com> |
journalctl: add "-t --identifier=STRING" option
This turns journalctl to the counterpart of systemd-cat.
Messages sent with
systemd-cat --identifier foo --prioritiy debug
can now be shown with
journalctl --identifier foo --prioritiy debug
"--identifier" is not merged with "--unit" to make a clear
distinction between syslog and systemd units.
syslog identifiers can be chosen freely by anyone. |
0566ef68b816f094c3bc1c6c3921c8c35bc6d87f |
|
20-Aug-2014 |
Ronny Chevalier <chevalier.ronny@gmail.com> |
man: fix typos |
a1d4404f9ab20159d88fbe9b4ed9a4f3f5b8345e |
|
18-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
man: mention that "units" are commonly system services
Also, provide an example for -u. |
4e6029435111adcad71489aca2dd68bc65aeffd4 |
|
20-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl,man: allow + only between terms
https://bugzilla.redhat.com/show_bug.cgi?id=1110712 |
5146e7e8aec2d394c06771d4c9d0d03fc2cd911c |
|
14-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add systemd-coredump(8) and a bunch of links |
5aded369782f28255bc6b494ca905d7acaea7a56 |
|
08-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add a mapping for external manpages
It is annoying when we have dead links on fd.o.
Add project='man-pages|die-net|archlinux' to <citerefentry>-ies.
In generated html, add external links to
http://man7.org/linux/man-pages/man, http://linux.die.net/man/,
https://www.archlinux.org/.
By default, pages in sections 2 and 4 go to man7, since Michael
Kerrisk is the autorative source on kernel related stuff.
The rest of links goes to linux.die.net, because they have the
manpages.
Except for the pacman stuff, since it seems to be only available from
archlinux.org.
Poor gummiboot gets no link, because gummitboot(8) ain't to be found
on the net. According to common wisdom, that would mean that it does
not exist. But I have seen Kay using it, so I know it does, and
deserves to be found. Can somebody be nice and put it up somewhere? |
dfdebb1b925332352966804303b2516a6506a429 |
|
21-Feb-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: xinclude --help/--version/--no-pager |
66f756d437658cc464bfb5647c97efd0cf77f933 |
|
18-Feb-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: resolve missing/extraneous words or inappropriate forms
Issues fixed:
* missing words required by grammar
* duplicated or extraneous words
* inappropriate forms (e.g. singular/plural), and declinations
* orthographic misspellings |
73e231abde39f22097df50542c745e01de879836 |
|
18-Feb-2014 |
Jan Engelhardt <jengelh@inai.de> |
doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes. |
21ac6ff143cc8bebfbd1818af28e8c6f82cd5265 |
|
12-Feb-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: use xinclude to de-deduplicate common text
I only tested with python-lxml. I'm not sure if xml.etree should be
deprecated. |
f366d58dc1fe51b300167446597750d29687c3c5 |
|
12-Feb-2014 |
Jason A. Donenfeld <Jason@zx2c4.com> |
pager: support SYSTEMD_LESS environment variable
This allows customization of the arguments used by less. The main
motivation is that some folks might not like having --no-init on every
invocation of less. |
ea18a4b57e2bb94af7b3ecb7abdaec40e9f485f0 |
|
11-Jan-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: allow globbing in --unit and --user-unit
This is a continuation of e3e0314b systemctl: allow globbing in commands
which take multiple unit names.
Multiple patterns can be specified, as separate arguments, or as one argument
with patterns seperated by commas.
If patterns are given, at least one unit must be matched (by any of the patterns).
This is different behaviour than systemctl, but here it is necessary because
otherwise anything would be matched, which is unlikely to be the intended
behaviour.
https://bugs.freedesktop.org/show_bug.cgi?id=59336 |
e0e009c067aa7237f9683c46e5845bbb11ec67c2 |
|
26-Dec-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: grammar and wording improvements
This is a recurring submission and includes corrections to:
- missing words, preposition choice.
- change of /lib to /usr/lib, because that is what most distros are
using as the system-wide location for systemd/udev files. |
b040723ea412209e0edf54647fa5aa4287411507 |
|
26-Dec-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: improvements to comma placement
This is a recurring submission and includes corrections to:
comma placement. |
06d9d3efa554ffc63b5977f1d86e393edeef8ad1 |
|
19-Dec-2013 |
Jason St. John <jstjohn@purdue.edu> |
man: add DOI for refereed article on Forward Secure Sealing to journald.conf(5)
In journalctl(1), be more explicit about the reference to "Seal=" in
journald.conf(5) and what information can be found there. |
9a7adc9a0ed53d6e422321e9196eb83d18afcba5 |
|
19-Dec-2013 |
Jason St. John <jstjohn@purdue.edu> |
man: be more explicit about option arguments that take 128-bit IDs in journalctl(1)
It may not be immediately obvious to the reader what "ID128" is, so replace the
example option argument "ID128" with "128-bit-ID". |
c98fa7999b82647a5f63b513cbde55cb723ceed5 |
|
19-Dec-2013 |
Jason St. John <jstjohn@purdue.edu> |
man: fix grammar issues in journalctl(1)
And add a missing <option> tag around "--setup-keys" under "--force". |
7fd97d7829de4e62690b5fb8d41de81bcde24db2 |
|
17-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: describe journalctl --show-cursor |
b6741478e7661c7e580e5dcfd6a6fccd1899c1d0 |
|
11-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
journal: add ability to browse journals of running OS containers
This adds the new library call sd_journal_open_container() and a new
"-M" switch to journalctl. Particular care is taken that journalctl's
"-b" switch resolves to the current boot ID of the container, not the
host. |
f11880744c27209a42f502c690db86b38d2db14b |
|
29-Oct-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: add --list-boots to show boot IDs and times
Suggested by David Wilkins <dwilkins@maths.tcd.ie> in
https://bugzilla.redhat.com/show_bug.cgi?id=967521:
> [Specific boot ID is a] bit of a palaver to obtain. I consulted the
> verbose dump of the journal to discover the _BOOT_ID for the
> timestamp, and then generated the journal dump for that boot using
> journalctl _BOOT_ID=foo -o short-monotonic. |
72f4d9669c253d5bd7c126bf2e7a0db0198cf2eb |
|
15-Oct-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted. I guess I can just skip over reporting ubiquitous comma
placement fixes… |
2b8f6883a17b9386299b7690869ccd8e20fe0347 |
|
08-Oct-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: flip to --full by default
We already shew lines in full when using a pager or not on a
tty. The commit disables ellipsization in the sole remaining case,
namely when --follow is used.
This has been a popular request for a long time, and indeed, full
output seems much more useful. Old behaviour can still be requested by
using --no-full. Old options retain their behaviour for compatiblity,
but aren't advertised as much. This change applies only to jornalctl,
not to systemctl, when ellipsization is useful to keep the layout.
https://bugzilla.redhat.com/show_bug.cgi?id=984758 |
8bd94f7a03032ac9218e88e8e099e974627a3bcb |
|
24-Sep-2013 |
Dave Reisner <dreisner@archlinux.org> |
journalctl(1): s/adm/systemd-journal/ |
6b4991cfde6c0a0b62e836ca75ae362779c474d4 |
|
10-Sep-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar updates
This includes regularly-submitted corrections to comma setting and
orthographical mishaps that appeared in man/ in recent commits.
In this particular commit:
- the usual comma fixes
- expand contractions (this is prose) |
5ca8c5d9775e1d81f087fba71fc3d4690e103bbf |
|
10-Sep-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add not to not use -x in bug reports |
f02d836794d519e717e51d81501557da55915ce2 |
|
21-Aug-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
logs-show: add short-precise mode with us timestamps
Also, always show us timestamps in verbose mode.
https://bugzilla.redhat.com/show_bug.cgi?id=991678 |
fbce11397f4d19821a9dfe66ee3ebe11cad90057 |
|
21-Jul-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: wording and grammar updates
This includes regularly-submitted corrections to comma setting and
orthographical mishaps that appeared in man/ in recent commits. |
86d7de36869429f20d75e34bb3ddb2cfd2470e75 |
|
19-Jul-2013 |
Jan Janssen <medhefgo@web.de> |
man: Fix example to use the new --boot syntax |
44bc6e1fe0171af19451b5586f7fdd08853ccf5b |
|
18-Jul-2013 |
Tomasz Torcz <tomek@pipebreaker.pl> |
journalctl: add ”short-iso” output format with verbose ISO8601 timestamps
Example:
2013-07-18T10:10:01+0200 sandworm CROND[20957]: (root) CMD (/usr/lib64/sa/sa1 1 1) |
d121b396ccb19dc33aacfc75a7f7a719914267c8 |
|
18-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: remove ":" from the --boot syntax
Instead of :-0, :1, :5, etc., use -0, 1 or +1, 5, etc. For BOOT_ID+OFFSET,
use BOOT_ID+offset or BOOT_ID-offset (either + or - is required).
Also make error handling a bit more robust and verbose.
Modify the man page to describe the most common case (-b) first,
and the second most common case (-b -1) second. |
248fc619b5e3e24d78f171f95b85916eee7987bd |
|
17-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: augment short mode with a cursor at the end
Two options are added: --show-cursor to print the cursor at the end,
and --after-cursor to resume logs on the next line after the previous one. |
9c33d34fe4cd0bc58ea12e5258e595647c9e0b29 |
|
16-Jul-2013 |
Jason St. John <jstjohn@purdue.edu> |
man: improve readability of --output options in journalctl(1)
The list and descriptions of valid output options was difficult to read,
so break up the long block of text into discrete man page list items to
improve readability. |
a331b5e6d4724365bad9edeb9420c7e26e7f50da |
|
16-Jul-2013 |
Jan Janssen <medhefgo@web.de> |
journalctl: Add support for showing messages from a previous boot
Hi,
I redid the boot ID look up to use enumerate_unique.
This is quite fast if the cache is warm but painfully slow if
it isn't. It has a slight chance of returning the wrong order if
realtime clock jumps around.
This one has to do n searches for every boot ID there is plus
a sort, so it depends heavily on cache hotness. This is in contrast
to the other way of look-up through filtering by a MESSAGE_ID,
which only needs about 1 seek + whatever amount of relative IDs
you want to walk.
I also have a linked-list + (in-place) mergesort version of this
patch, which has pretty much the same runtime. But since this one
is using libc sorting and armortized allocation, I prefer this
one.
To summarize: The MESSAGE_ID way is a *lot* faster but can be
incomplete due to rotation, while the enumerate+sort will find
every boot ID out there but will be painfully slow for large
journals and cold caches.
You choose :P
Jan |
77a9e8de6572db6ba5ca49023937b67fc835f356 |
|
16-Jul-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add note about paging and colors to journalctl(1) |
b8547c10c82994f2b8eab4510629139439b49371 |
|
15-Jul-2013 |
Shawn Landden <shawnlandden@gmail.com> |
journalctl: add --force option to recreate FSS |
409dee2e44e7dc73d6bf00d782938e4cb4105f5b |
|
03-Jul-2013 |
Jan Engelhardt <jengelh@inai.de> |
man: more grammar improvements
- place commas
- expand contractions (this is written prose :)
- add some missing words |
909f413d3c572baadf9b13e36e1e90beba42af86 |
|
26-Jun-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: always supply quotes around literals
When manpages are displayed on a terminal, <literal>s are indistinguishable
from surrounding text. Add quotes everywhere, remove duplicate quotes,
and tweak a few lists for consistent formatting.
https://bugzilla.redhat.com/show_bug.cgi?id=874631 |
fe004b7c3a8325eb8d5420c1b940a5ade2691417 |
|
18-Jun-2013 |
Lennart Poettering <lennart@poettering.net> |
journal: add references to SSKG paper FSS is based on |
98a6e132b5b85999f7e3dce158e826ffeecc1553 |
|
17-Jun-2013 |
Daniel Albers <daniel@lbe.rs> |
journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --full
https://bugs.freedesktop.org/show_bug.cgi?id=65850 |
8d98da3f1107529d5ba49aea1fa285f7264b7cba |
|
10-Jun-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: allow the user to specify the file(s) to use
This is useful for debugging and feels pretty natural. For example
answering the question "is this big .journal file worth keeping?"
is made easier. |
3f3a438f58d7b1d2ba2b44d6d356fb1eaa65b66a |
|
10-Jun-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: add --system/--user flags
--user basically gives messages from your own systemd --user services.
--system basically gives messages from PID 1, kernel, and --system
services. Those two options are not exahustive, because a priviledged
user might be able to see messages from other users, and they will not
be shown with either or both of those flags. |
2927b326ccf67236e148444679f582ea1437ef5a |
|
21-May-2013 |
Jan Janssen <medhefgo@web.de> |
man: Document missing options |
845c53246f73a505f12bb7f685a530045fa60a40 |
|
03-May-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: add various filenames to the index
Everything which is an absolute filename marked with <filename></filename>
lands in the index, unless noindex= attribute is present. Should make
it easier for people to find stuff when they are looking at a file on
disk.
Various formatting errors in manpages are fixed, kernel-install(1) is
restored to formatting sanity. |
b9e405246e2f3b7149ef1f9924806441d17f004a |
|
17-Apr-2013 |
Harald Hoyer <harald@redhat.com> |
journalctl: specify "--unit=" and "--user-unit" multiple times
Previously only one "--unit=" or "--user-unit" could be specified.
With this patch, journalcrtl can show multiple units.
$ journalctl -u systemd-udevd.service -u sshd.service -u crond.service -b
-- Logs begin at Sa 2013-03-23 11:08:45 CET, end at Fr 2013-04-12
09:10:22 CEST. --
Apr 12 08:41:37 lenovo systemd[1]: Started udev Kernel Device Manager.
Apr 12 08:41:37 lenovo systemd[1]: Stopped udev Kernel Device Manager.
Apr 12 08:41:38 lenovo systemd[1]: Started udev Kernel Device Manager.
Apr 12 08:41:38 lenovo crond[291]: (CRON) INFO (Syslog will be used
instead of sendmail.)
Apr 12 08:41:38 lenovo crond[291]: (CRON) INFO (running with inotify
support)
Apr 12 08:41:39 lenovo systemd[1]: Starting OpenSSH server daemon...
Apr 12 08:41:39 lenovo systemd[1]: Started OpenSSH server daemon.
Apr 12 08:41:39 lenovo sshd[355]: Server listening on 0.0.0.0 port 22.
Apr 12 08:41:39 lenovo sshd[355]: Server listening on :: port 22.
Apr 12 08:41:39 lenovo mtp-probe[373]: checking bus 1, device 8:
"/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.6/1-1.5.6.2/1-1.5.6.2.1" |
13cbf3a5f0cf4a1d89413d0ffc4a9067b1d6d1a8 |
|
29-Mar-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: support --root for message catalogs |
54b7254c1fa629937f92fd6fa34bdf127b696a00 |
|
20-Mar-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalct: beef up entry listing
The ability to dump catalog entries in full and by id is added. |
8cb17a6dc88cecfcee3189765031e9e8a1f4106b |
|
19-Mar-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
sd-journal: do not require path to be absolute
Seems natural to be able to specify relative directory,
e.g. with journalctl -D. And even if, this should be checked
in front-end code, not in the library. |
7199aa96ce19468d9ce4cb21a13e32a3792fde41 |
|
14-Mar-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: show systemd messages about unit for -u
journalctl -u unit is not very useful, because it doesn't show
systemd messages about starting, stopping, coredumps, etc,
like systemctl status unit does. Make it show the same
information using the same rules.
If somebody really want to see just messages from by the unit,
it is easy enough to use _SYSTEMD_UNIT=... |
7d7681f70bc8c2140092029ccada9f75510a176b |
|
13-Mar-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: fix some typos |
fe59e38bef69568c385d10761132458606cdd896 |
|
07-Mar-2013 |
Lennart Poettering <lennart@poettering.net> |
journalctl: imply -n1000 when -e is used
Make sure the pager does not have to buffer an unbounded number of log
messages, by default. |
1b12a7b5896f94bdf33b3a6661ebabd761ea6adc |
|
07-Mar-2013 |
Harald Hoyer <harald@redhat.com> |
pager: introduce "jump to end" option
$ journalctl -be
is what you want :)
https://bugzilla.redhat.com/show_bug.cgi?id=867841 |
ffa7cd15cd2a9e802827ef0f5762de6c22933c07 |
|
01-Mar-2013 |
Daniel Wallace <danielwallace@gtmanfred.com> |
journalctl: add --user-unit= switch
Add --user-unit= to make it possible to query for user logs by the name
of the service. |
d89d6c86d9f141e0fb6939b7fc4f5ea068750690 |
|
01-Mar-2013 |
Lukas Nykryn <lnykryn@redhat.com> |
journalctl: add --reverse option to show the newest lines first |
a7f5bb1eafadbb08c8528baae588bbe773a37e79 |
|
13-Feb-2013 |
William Giokas <1007380@gmail.com> |
man: Make options consistent
Option listings seemed to be pretty much random, some were short opt,
long opt, others were long opt, short opt. This just makes every option
with a short and long opt that I could find in the order short opt, long
opt, for formatting's sake. |
ccc9a4f9ffdab069b0b785627c48962fdadf6d46 |
|
26-Jan-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: extend systemd.directives(7) to all manual pages
New sections are added: PAM options, crypttab options, commandline
options, miscellaneous. The last category will be used for all
untagged <varname> elements.
Commandline options sections is meant to be a developer tool: when
adding an option it is sometimes useful to be able to check if
similarly named options exist elsewhere. |
2ab38e24e548e0215596687e4916f5c47dc935a2 |
|
30-Nov-2012 |
Ramkumar Ramachandra <artagnon@gmail.com> |
man: fix some spelling mistakes |
e3657ecd7f9f9bd6a1719fc808639cd4b780674a |
|
17-Nov-2012 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
journalctl: add option to forgo ellipsization
Sometimes it is better to see messages in full, and the existing
set of options didn't allow this easily. E.g. now
journalctl -f --full
will behave like
tail -f /var/log/messages
of yore.
Long option only for now, since small letters are becoming
scarce, and this doesn't feel like a capital-letter-option.
'-u' would be nice, and the above command would be spelled
journalctl -fu |
2d27a19d924a0ede0d95ff2ab19a98211e716c4b |
|
16-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
man: link up journalctl man page with developer documenation |
d4205751d4643c272059a3728045929dd0e5e800 |
|
15-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: implement message catalog
The message catalog can be used to attach short help texts to log lines,
keyed by their MESSAGE_ID= fields. This is useful to help the
administrator understand the context and cause of a message, find
possible solutions and find further related documentation.
Since this is keyed off MESSAGE_ID= this will only work for native
journal messages.
The message catalog supports i18n, and is useful to augment english
language system messages with explanations in the local language.
This commit only includes short explanatory messages for a few example
message IDs, we'll add more complete documentation for the relevant
systemd messages later on. |
d99ae53a7327e1520ea4b9a3408c2d7f938c4b37 |
|
25-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: properly serialize fields with multiple values into JSON
This now matches the JSON serialization spec from:
http://www.freedesktop.org/wiki/Software/systemd/json |
2eb8e90ff9380fe38b9539a3fd5cf25b8d880f22 |
|
23-Oct-2012 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
man: reword journalctl -n description |
9536e0e10957cdd56d5f507f65b67aea479f5ff4 |
|
18-Oct-2012 |
Dave Reisner <dreisner@archlinux.org> |
journalctl.xml: fix shortopt for --field |
15119c160268ce4ba9da4be67ed8adc412220b7d |
|
18-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: implement quering field values with new -F switch
Example:
journalctl -F _SYSTEMD_UNIT
will list all units that ever logged to the journal. |
c3f60ec54da2a5d1ba00cec6bb2c282f079aa3f6 |
|
16-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add --unit=/-u to match by unit name
This applies unit_name_mangle() to the specified unit names and hence
can handle weird characters nicely and will add unit suffixes as
necessary. |
16dad32e437fdf2ffca03cc60a083d84bd31886f |
|
16-Oct-2012 |
Andrew Eikum <aeikum@codeweavers.com> |
Reword sentences that contain psuedo-English "resp."
As you likely know, Arch Linux is in the process of moving to systemd.
So I was reading through the various systemd docs and quickly became
baffled by this new abbreviation "resp.", which I've never seen before
in my English-mother-tongue life.
Some quick Googling turned up a reference:
<http://www.transblawg.eu/index.php?/archives/870-Resp.-and-other-non-existent-English-wordsNicht-existente-englische-Woerter.html>
I guess it's a literal translation of the German "Beziehungsweise", but
English doesn't work the same way. The word "respectively" is used
exclusively to provide an ordering connection between two lists. E.g.
"the prefixes k, M, and G refer to kilo-, mega-, and giga-,
respectively." It is also never abbreviated to "resp." So the sentence
"Sets the default output resp. error output for all services and
sockets" makes no sense to a natural English speaker.
This patch removes all instances of "resp." in the man pages and
replaces them with sentences which are much more clear and, hopefully,
grammatically valid. In almost all instances, it was simply replacing
"resp." with "or," which the original author (Lennart?) could probably
just do in the future.
The only other instances of "resp." are in the src/ subtree, which I
don't feel privileged to correct.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> |
cfbc22abd0525570a6e58968d518ea9a7d0403ba |
|
11-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: implement --since= and --until for filtering by time |
48383c251185c4596e9098878b28334c69e7bfd9 |
|
11-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: support epxorting the journal in a format suitable for text/event-stream |
8f14c8327b1c2b578bbf1235723a77931c3d0223 |
|
28-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add --cursor switch |
1705594f597ed12f38bee309b3fdb3f691e2021b |
|
21-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: make the argument to -n optional |
a0b78ede25ad1b07521aa6c1b70258dcc05136fa |
|
13-Sep-2012 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
man: fix typos in halt.xml and journalctl.xml
https://bugs.freedesktop.org/show_bug.cgi?id=54501 |
a1a03e3075316e2376176fc54c74e071adc9d71a |
|
07-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: add call to determine current journal file disk usage |
9e8a535faa370bab283cb2c3c52b0a0d44e9d193 |
|
06-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: replace --local by --merge, i.e. don't interleave remote journals by default |
a6e87e90ede66815989ba2db92a07102a69906fe |
|
06-Sep-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: rework JSON output mode
This splits the JSON output mode into different modes: json and
json-pretty. The former printing one entry per line, the latter showing
JSON objects nicely indented and in multiple lines to make it easier to
read for humans. |
31094aae09dd5a773e1634334bcd12fc8834a030 |
|
17-Aug-2012 |
Lennart Poettering <lennart@poettering.net> |
man: add man pages for new FSS stuff |
b6a345143bf6ffdc87a7149015f75c03be440b10 |
|
09-Aug-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: support device node matches as shortcut |
941e990db1f2682abaa2966b1c48602901d0c599 |
|
27-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add --priority= switch for filtering by priority |
f8813ec7950f02858ad0b902b4ba5d8b79ed67d6 |
|
20-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
man: add reference to export format spec to journalctl |
dca6219e04505e9fa10b32e71059ce2abfae1dad |
|
17-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: automatically rotate journal files if the data hash table is full > 75%
Previously, when the main data hash table grows too full the performance
simply started to decrease drastically. Instead, now simply rotate to a
new journal file as the hash table gets to full, so that we can start
with a new fresh empty hash table. |
49f43d5f91a99b23f745726aa351d8f159774357 |
|
16-Jul-2012 |
Ville Skyttä <ville.skytta@iki.fi> |
Spelling fixes. |
cbdca8525b4f36297cb9e5cb090a9648763ed1bf |
|
13-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: beef up journal matches considerably
we now can take multiple matches, and they will apply as AND if they
apply to different fields and OR if they apply to the same fields. Also,
terms of this kind can be combined with an overreaching OR. |
14a65d65a0c25ba4809b8d97f54ebf3e12eac84c |
|
11-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add a marker to log output for reboots
With this we'll print a marker "----- Reboot -----" between two
subsequent lines with different boot IDs. |
a963990ff4ebc7908d3cf82bbd8cf34a42d57b7f |
|
11-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: rework directory enumeration/watch logic
There's now sd_journal_new_directory() for watching specific journal
directories. This is exposed in journalctl -D.
sd_journal_wait() and sd_journal_process() now return whether changes in
the journal are invalidating or just appending.
We now create inotify kernel watches only when we actually need them |
931974af6bbad8b79cbee7e41f98954758016fcc |
|
02-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
man: fix journalctl man page in regards to --this-boot |
59cea26a349cfa8db906b520dac72563dd773ff2 |
|
02-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add new switch -b to show data from current boot only |
0e25e94ea72ca3db70484014280ddb709840f952 |
|
10-Jun-2012 |
Kay Sievers <kay@vrfy.org> |
man: replace tabs with spaces |
01cf0ca850dd1c21e1c405a4493fe61d0c28d721 |
|
01-Jun-2012 |
Lennart Poettering <lennart@poettering.net> |
man: document systemd-journal |
5430f7f2bc7330f3088b894166bf3524a067e3d8 |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
relicense to LGPLv2.1 (with exceptions)
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.
Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.
The bits that used to be MIT continue to be MIT.
The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends. |
ffa16db02673ffa155ffb2649e72a935a1ff70f5 |
|
03-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
man: document special journal fields |
18b754d345ecb0b15e369978aaffa72e9814b86a |
|
30-Mar-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
rename /etc/systemd/systemd-{login,journal}d.conf to {login,journal}d.conf |
2bd3c38a44c5c3acbf5afdb9c0bcbaf4a72dac3f |
|
27-Mar-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add --local switch |
169c4f65131fbc7bcb51e7d5487a715cdcd0e0eb |
|
26-Mar-2012 |
Lennart Poettering <lennart@poettering.net> |
journalctl,loginctl: drop systemd- prefix in binary names
Let's make things a bit easier to type, drop the systemd- prefix for
journalctl and loginctl, but provide the old names for compat.
All systemd binaries are hence now prefixed with "systemd-" with the
exception of the three primary user interface binaries:
systemctl
loginctl
journalctl
For those three we do provide systemd-xyz names as well, via symlinks:
systemd-systemctl → systemctl
systemd-loginctl → loginctl
systemd-journalctl → journalctl
We do this only for the *primary* user tools, in order to avoid
unnecessary namespace problems. That means tools like systemd-notify
stay the way they are. |