Browse Source

Fix MySQL log collection

The mysql logs weren't being copied to logs and published.

Related-Bug: #1844929

Change-Id: I20740b468e4b310ac07e77f3930cae92026942fb
changes/42/684042/2
Matt Riedemann 1 month ago
parent
commit
3d8c5ef444
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      functions.sh

+ 1
- 2
functions.sh View File

@@ -664,8 +664,7 @@ function cleanup_host {
# deleted
sudo cp /var/log/postgresql/*log $BASE/logs/postgres.log
fi
save_file /var/log/mysql.err
save_file /var/log/mysql.log
save_dir /var/log/mysql

# libvirt
save_dir /var/log/libvirt

Loading…
Cancel
Save