1 Reply Latest reply on Nov 10, 2012 2:29 PM by 947811

    OIM terminal output 2 file

      Can anybody help me with a next task:
      OIM server started as a deamon by hohup command and output stream is redirected to some log file:
      nohup ./startManagedWebLogic.sh > ../logs/oim.log &
      I need to save oim.log to archive every day and continue writing to empty oim.log without stopping OIM server,
      but when I try to clean file (Solaris 10, cp /dev/null oim.log, or cat /dev/null > oim.log, or >oim.log ) in my bash script,
      file fills by [NULL] and OIM continue wtiting from (old_file_size + 1) position.