Skip to content
View in the app

A better way to browse. Learn more.

Kaspersky Support Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

KWTS: How to change Syslog location [Kaspersky Web Traffic Security]

Description and cautions

Sometimes you may need KWTS to write syslog messages to different log's name or/and path.

We're talking about this setting:

image.thumb.png.ed984c4f4125b6f1e8f16c22b2e11e89.png

Steps below were performed on Centos 7+ x64 and Ubuntu 20.04/22.04 x64 

KWTS 6.1 NOT ISO

By default it's set to local1, and depending on OS KWTS writes syslog messages to:

1) CentOS > /var/log/messages

2) Ubuntu > /var/log/syslog

Details

So here's how to change default behavior:

  • Change value on web interface to, for instance, local0

image.png.f518ed47245654f91923eaa087e3bf8e.png

  • Modify /var/opt/kaspersky/kwts/postgresql/postgresql.conf , so it should look like this:

image.png.11e38ca65f75aefb6350199ede083569.png         

  • Modify files like this:

         -For CentOS /etc/rsyslog.conf

image.png.0424878329abda01f879870d859d96ca.png

         -For Ubuntu /etc/rsyslog.d/50-default.conf (actually it could be different name, but this one is default for clean installation of Ubuntu)

image.png.556b1a0ad2abd9c9cb5ded42980874ec.png

  • Configure rotation for your /var/log/kwts-syslog.log (name it as you wish)

         -For CentOS /etc/logrotate.d/syslog, you can just append it to current rotation settings

image.png.99394f15880d489b8667f4470cc9c90d.png

         or configure your own parameters (refer to online documentation)

image.png.6eebb05f1818b7f1ff2013a8a4d9532a.png

      -For Ubuntu /etc/logrotate.d/syslog (you can create your own param eters as well)

image.png.234cf6550128f3bd73b72248f81c5d72.png

  • Reboot OS and finally check that KWTS writes syslog messages to your new log with cat /var/log/kwts-syslog.log command.

image.png

0 Comments

Recommended Comments

There are no comments to display.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.