Actions
Bug #20473
closedError messages are sent to STDOUT
Description
Not all, but those using fail_now method:
[root@winter ~]# foreman-installer --scenario foreman --migrations-only >/dev/null [root@winter ~]# foreman-installer --scenario foreman --migrations-only ERROR: Selected scenario is DISABLED, can not continue. Use --list-scenarios to list available options. You can also --enable-scenario SCENARIO to make the selected scenario available.
This is bigger problem than it looks like, because we redirect STDOUT to /dev/null in RPM scriplets!
Updated by Marek Hulán over 6 years ago
I'm afraid at this point we don't know which configuration file to load so we don't know what log file should be used. Martin, pls correct me if I'm wrong. Should we use STDERR in this case?
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/kafo/pull/217 added
Updated by Lukas Zapletal over 6 years ago
STDERR is without a doubt the place to go.
Updated by Lukas Zapletal over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 26dd76b202cbff877e71653e1366dc0591514514.
Actions