Skip to main content
Known Participant
June 8, 2022
Question

How to link custom log to standard output in Azure Container Instance?

  • June 8, 2022
  • 1 reply
  • 460 views

I created an Azure Container Instance and Coldfusion 2021 is running on it as a Docker image.

The application creates multiple log files. Now I want all these logs to show on Standard Output.
I tried symlink but was unable to get those logs to stdout.

 

Can anyone help me?

 

Thanks!

    This topic has been closed for replies.

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    June 8, 2022

    This same question was asked here in another thread a few days ago. It seems to be from a different user than you, but otherwise thensame situation. 

     

    And I offered an answer there but have heard no reply, nor has anyone else chimed in. Can you please consider what I wrote there, and offer a reply either there or here? 

     

    https://community.adobe.com/t5/coldfusion-discussions/how-to-get-the-coldfusion-log-form-the-azure-container-instance/m-p/12984623

    /Charlie (troubleshooter, carehart. org)
    Known Participant
    June 8, 2022

    Charlie, thank you for your reply. 

    I checked the link.

    I tried to add symlinks but was still not able to redirect custom logs to stdout.

    I follow the instructions of these following links.

    https://serverfault.com/questions/599103/make-a-docker-application-write-to-stdout

    https://stackoverflow.com/questions/40263585/redirecting-apache-logs-to-stdout

    Thanks,Souvik