Rotating instance logs | Tarantool
Документация на русском языке
поддерживается сообществом
Tooling tt CLI utility Commands Rotating instance logs

Rotating instance logs

$ tt logrotate APPLICATION[:APP_INSTANCE]

tt logrotate rotates logs of a Tarantool application or specific instances, and the tt log. For example, you need to call this function to continue logging after a log rotation program renames or moves instances“ logs. Learn more about rotating logs.

Calling tt logrotate on an application has the same effect as executing the built-in log.rotate() function on all its instances.

Rotate logs of the app application’s instances:

$ tt logrotate app
Нашли ответ на свой вопрос?
Обратная связь