Summary: | RFE - Add options to shorten or skip hostname on output | ||
---|---|---|---|
Product: | systemd | Reporter: | Orion Poplawski <orion> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | enhancement | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Orion Poplawski
2013-07-18 17:22:28 UTC
We show the kernel hostname, not the fqdn. If you initialize the kernel hostname to the fqdn it's kinda your own fault... journalctl handles messages from as many hosts as you like. For example, if you share the journal dir from multiple hosts, you can use "journalctl -m" to merge the output of all of them. This is also used by "systemd-nspawn -j" to make the logs available easily. Also we try to stay compatible with classic /var/log/messages in our output, so that people can parse the lines with the classic tools. All together I am really not convinced that it would be a good idea to not show the name. (In reply to comment #1) > We show the kernel hostname, not the fqdn. If you initialize the kernel > hostname to the fqdn it's kinda your own fault... Well, FWIW - IPA/kerberos appears to demand that the hostname be set to the fqdn: Joining realm failed: The hostname must be fully-qualified: barry So I still think this would be a useful option. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.