Announcement

Collapse
No announcement yet.

Log to Console instead of file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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...
      X