Log to Console instead of file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pwhe23
    New User
    • Apr 2016
    • 2

    Log to Console instead of file

    I am running BComp.com with a script within a batch file as part of my automated deployment process and it is working well in my testing. However, I can't figure out how to get it to write the log of what it is doing out to the console so it is captured with the rest of my batch command output, it seems it can only log to a file. I just want what is normally output to the file to be displayed in the command console output, what am I missing?

    Code:
    log verbose
    option confirm:yes-to-all
    load "{session}"
    expand all
    compare
    select left.diff.files left.orphan.files
    copy left->right
    Code:
    "C:\Program Files (x86)\Beyond Compare 4\BComp.com" "@{script}" /silent
  • Aaron
    Team Scooter
    • Oct 2007
    • 16026

    #2
    Hello,

    Our script options do not support direct console output. You would need to output to a file (log verbose "c:\logs\bclog.txt"), then on script completion work the file into your overall automation. You could add a call to "type c:\logs\bclog.txt" to output the file to the console, or use another method to incorporate the log's data.
    Aaron P Scooter Software

    Comment

    • pwhe23
      New User
      • Apr 2016
      • 2

      #3
      Thanks for the workaround, I'll give it a try.
      I hope this is a feature you would consider for a future version, thanks!

      Comment

      Working...