mirror of
https://github.com/ovh/the-bastion.git
synced 2024-11-10 17:26:51 +08:00
doc: upgrade: add a note about config normalization
This commit is contained in:
parent
1378ba84f5
commit
ecc19db276
1 changed files with 9 additions and 2 deletions
|
@ -27,7 +27,15 @@ Version-specific upgrade instructions
|
|||
v3.02.00 - not yet released
|
||||
***************************
|
||||
|
||||
The upgrade path from the preceding version is straightforward, however there are a few changes around logging that you might want to know before hitting the upgrade button:
|
||||
The upgrade path from the preceding version is straightforward, however there are a few changes that you might want to be aware of before hitting the upgrade button:
|
||||
|
||||
The main configuration file now supports proper booleans
|
||||
--------------------------------------------------------
|
||||
|
||||
For a lot of configuration options, previously you would specify "1" to enable a feature, and "0" to disable it. This has been changed to use proper *true* and *false* json values in :file:`/etc/bastion/bastion.conf`. Of course, backward compatibility with "0" and "1" will always be kept, so no breakage is to be expected for this version or future ones even if you keep your configuration untouched.
|
||||
|
||||
Logs have been enhanced
|
||||
-----------------------
|
||||
|
||||
All connections and plugin executions emit two logs, an *open* and a *close* log. We now add all the details of the connection to the *close* logs, those that were previously only available in the corresponding *open* log. This way, it is no longer required to correlate both logs with their uniqid to have all the data: the *close* log should suffice. The *open* log is still there if for some reason the *close* log can't be emitted (kill -9, system crash, etc.), or if the *open* and the *close* log are several hours, days or months appart.
|
||||
|
||||
|
@ -43,7 +51,6 @@ The :file:`/home/osh.log` file is no longer used for :ref:`enableGlobalAccessLog
|
|||
|
||||
The global sql file, enabled with :ref:`enableGlobalSqlLog`, is now split by year-month instead of by year, to :file:`/home/logkeeper/global-log-YYYYMM.sqlite`.
|
||||
|
||||
|
||||
v3.01.03 - 2020/12/15
|
||||
*********************
|
||||
|
||||
|
|
Loading…
Reference in a new issue