Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8015899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:23:24+00:00 2026-06-04T20:23:24+00:00

I’m using a non-.NET worker role, configured by setting the ProgramEntryPoint in the service

  • 0

I’m using a non-.NET worker role, configured by setting the ProgramEntryPoint in the service definition. That means that there is no .NET code in my application, which is written in Java and Python.

When I run my worker role locally, I can open the Windows Azure Compute Emulator application and look at the standard output and error of my worker process.

When I remote desktop into my Azure instance, I don’t know where to get that same information. Where do I find standard output and error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:23:27+00:00Added an answer on June 4, 2026 at 8:23 pm

    To directly answer the question above:

    <ProgramEntryPoint commandLine="run.bat >> app.log 2>&amp;1" ... "/>
    

    When you run above command in compute emulator, you are asking to redirect the command shell output to the same location where run.bat is located. That’s it. When you launch your worker role in compute emulator, it is started from the location inside CSX folder and the app.log is created there.

    Now if you take the exact same code and deploy on Windows Azure, so when “run.bat >> app.log” will be executed, the app.log file will be created in the same directly where your run.bat is located. You can find it at E:\Approot\ after your RDP your Azure instance.

    Above method is correct but the strategy is NOT RIGHT. This is because:

    1. The logs will not persist in Azure VM in Azure VM is recycled
    2. You would need to RDP to Azure VM to check, (What if you have 100 instances, will you RDP to each one to get the log?)

    The best strategy would be if these custom logs which are created by 3rd party applications, are transferred directly to Azure Storage.

    In any scenario where there is custom application i.e. java.exe, php.exe, python etc, I suggest to create the log file directly at “Local Storage” Folder and then initialize Azure Diagnostics in Worker Role (WorkerRole.cs) to export these custom log files directly from Azure VM to your Azure Blob storage.

    How to create custom logs on local storage is described here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am doing a simple coin flipping experiment for class that involves flipping a
I have this code to decode numeric html entities to the UTF8 equivalent character.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.