Layer7 Access Management

Expand all | Collapse all

Issue with smpolicysrv -publish command

Jump to Best Answer
  • 1.  Issue with smpolicysrv -publish command

    Posted 11-14-2017 02:54 PM

    I have multiple policy servers that run a cron job with the command "smpolicysrv -publish /write/it/out/to/a/file.txt".

     

    For some reason on 2 of the servers, the file is written as it should but it also writes the publish output to the smps.log file.  Assuming there is some simple thing I'm missing to get it to not write to smps.log simultaneously.

     

    Thanks



  • 2.  Re: Issue with smpolicysrv -publish command

    Posted 11-15-2017 02:41 AM

    Hi Samatnys,

     

    Out of the box, Policy Server writes to the given file, or if none
    specified in the smps.log. But never in 2 different files at time. To
    have this feature to write in multiple files at the same time, please
    open an Idea on the Security Page :

     

    https://communities.ca.com/message/241729406

     

    Best Regards,
    Patrick



  • 3.  Re: Issue with smpolicysrv -publish command

    Posted 11-15-2017 08:32 AM

    Hi Patrick.  Maybe a slight misunderstanding.  I don't want it to write to multiple files at the same time.  But it appears to be doing so.  I'm trying to figure out how to get it to stop writing to smps.log.



  • 4.  Re: Issue with smpolicysrv -publish command

    Posted 11-16-2017 02:22 AM

    Hi Samatnys,

     

    Again, to have a feature to select the only files you want the data to
    be written in, please open an Idea on the Security Page :

    https://communities.ca.com/message/241729406

    Best Regards,
    Patrick



  • 5.  Re: Issue with smpolicysrv -publish command
    Best Answer

    Posted 11-16-2017 02:02 AM

    Unfortunately, it is NOT possible to skip writing to smps.log while running publish command.



  • 6.  Re: Issue with smpolicysrv -publish command

    Posted 11-17-2017 11:14 AM

    Thanks Ujwol.  You are still "the man"...