| 1 |
.. Open Infrastructure: compute-tools |
| 2 |
|
| 3 |
.. Copyright (C) 2014-2026 Daniel Baumann <[email protected]> |
| 4 |
.. |
| 5 |
.. SPDX-License-Identifier: GPL-3.0+ |
| 6 |
.. |
| 7 |
.. This program is free software: you can redistribute it and/or modify |
| 8 |
.. it under the terms of the GNU General Public License as published by |
| 9 |
.. the Free Software Foundation, either version 3 of the License, or |
| 10 |
.. (at your option) any later version. |
| 11 |
.. |
| 12 |
.. This program is distributed in the hope that it will be useful, |
| 13 |
.. but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
.. GNU General Public License for more details. |
| 16 |
.. |
| 17 |
.. You should have received a copy of the GNU General Public License |
| 18 |
.. along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 19 |
|
| 20 |
============= |
| 21 |
container-log |
| 22 |
============= |
| 23 |
|
| 24 |
------------------ |
| 25 |
Show container log |
| 26 |
------------------ |
| 27 |
|
| 28 |
:manual section: 1 |
| 29 |
:manual group: Open Infrastructure |
| 30 |
|
| 31 |
Synopsis |
| 32 |
======== |
| 33 |
|
| 34 |
| **container log** ['OPTIONS'] |
| 35 |
|
| 36 |
Description |
| 37 |
=========== |
| 38 |
|
| 39 |
The **container log** command shows the container log. |
| 40 |
|
| 41 |
Options |
| 42 |
======= |
| 43 |
|
| 44 |
The following **container log** options are available: |
| 45 |
|
| 46 |
-d, --date: |
| 47 |
Show only log entries of the specified date as 'YYYY-MM-DD' or a date range like 'today-7'. |
| 48 |
|
| 49 |
-n, --name: |
| 50 |
Show only log entries for the specified container. |
| 51 |
|
| 52 |
Examples |
| 53 |
======== |
| 54 |
|
| 55 |
Show all log entries: |
| 56 |
|
| 57 |
sudo container log |
| 58 |
|
| 59 |
Show only log entries of today: |
| 60 |
|
| 61 |
sudo container log -d today |
| 62 |
|
| 63 |
Show only log entries of yesterday: |
| 64 |
|
| 65 |
sudo container log -d yesterday |
| 66 |
|
| 67 |
Show all log entries of the example.net container: |
| 68 |
|
| 69 |
sudo container log -n example.net |
| 70 |
|
| 71 |
Show only log entries of the example.net container of the last 30 days: |
| 72 |
|
| 73 |
sudo container log -d today-30 -n example.net |
| 74 |
|
| 75 |
See also |
| 76 |
======== |
| 77 |
|
| 78 |
| compute-tools(7), |
| 79 |
| container(1). |
| 80 |
|
| 81 |
Homepage |
| 82 |
======== |
| 83 |
|
| 84 |
More information about compute-tools and the Open Infrastructure project can be |
| 85 |
found on the homepage (https://open-infrastructure.net). |
| 86 |
|
| 87 |
Contact |
| 88 |
======= |
| 89 |
|
| 90 |
Bug reports, feature requests, help, patches, support and everything else are |
| 91 |
welcome on the Open Infrastructure Software Mailing List |
| 92 |
<[email protected]>. |
| 93 |
|
| 94 |
Debian specific bugs can also be reported in the Debian Bug Tracking System |
| 95 |
(https://bugs.debian.org). |
| 96 |
|
| 97 |
Authors |
| 98 |
======= |
| 99 |
|
| 100 |
compute-tools were written by Daniel Baumann |
| 101 |
<[email protected]> and others. |