]> git.proxmox.com Git - pve-common.git/commit
dump logfile: return whole log file if limit is 0
authorDaniel Tschlatscher <d.tschlatscher@proxmox.com>
Wed, 23 Nov 2022 14:52:10 +0000 (15:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Nov 2022 16:12:02 +0000 (17:12 +0100)
commitf0c1b0c03c73bce59b1652757ea07b7162bbb6b1
tree18f2a2d81d994ce7f950ed0132ddcc94ffba63d8
parent99fc81231e09febc4ed9bdbae8a87eca73b0dc3e
dump logfile: return whole log file if limit is 0

The dump_logfile now returns the whole log file if the limit
parameter is set to 0. This must be done explicitly though, as in the
case of 'limit' being undefined, the default as before, 50 will be
used.

Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
src/PVE/Tools.pm