BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] SAS Objectspawner Console log 파일의 크기가 과도하게 큽니다. 해당 로그 파일을 rolling 시키는 방법이 있는지요?

Started ‎08-19-2021 by
Modified ‎08-19-2021 by
Views 279

Objectspawner Console log는 rolling이 되지 않습니다.

따라서, 해당 파일의 size가 커질 경우, SAS 서비스를 중시하신 후, 해당 파일을 rename/delete/move 하셔도 시스템 영향은 없으며, 다시 SAS service가 시작되면 새로운 파일이 생성이 됩니다.

 

또는 아래와 같은 방법으로도 로그가 생성되지 않도록 설정하실 수 있습니다.

 

  • 수정 대상 파일: <config dir>/Lev1/ObjectSpawner/ObjectSpawner.sh
  • 수정 내용:

… $LOGSDIR/ObjectSpawner_console_${HOSTNAME}.log 2>&1 &” 부분을 … /dev/null 2>&1 &" 으로 변경(수정 후에 SAS ObjectSpawner service restart 필요함)

Version history
Last update:
‎08-19-2021 12:46 AM
Updated by:
Contributors

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Article Labels
Article Tags