EdgeRouter - EdgeRouter에서 로그의 크기와 저장되는 숫자를 조정하는 방법 ========================================================================== download at 2017-02-07T01:16:02Z `origin `_ Answer ------ -------------- EdgeRouter는 자동으로 로테이션 로깅 기법을 사용합니다. 아래의 설정은 기본 설정으로 10개의 로그 파일을 사용하며, 1000k 크기가 도달했을 때 다음 파일에 로그를 남기도록 하는 설정입니다: :: ubnt@ubnt# cat /etc/logrotate.d/messages /var/log/messages { missingok notifempty rotate 10 size=1000k postrotate invoke-rc.d rsyslog reload >/dev/null endscript } [edit] **Note**: 원격 syslog 서버를 사용하는 것을 미션 크리티컬한 배포 환경에서 가외성(redundancy)과 효율성을 위해서 권장합니다. 다음 명령어를 사용하여 값을 조정할 수 있습니다: :: ubnt@ubnt# set system syslog global archive ? Possible completions: filesNumber of saved files sizeSize of log files (kbytes) [edit] .. raw:: html
  .. raw:: html