Giter VIP home page Giter VIP logo

Comments (6)

leovms avatar leovms commented on September 25, 2024

I created a test artifact where I indicate how many sample log lines to output. I've ran it to output 100 lines. It worked. I then asked it to output 1000 lines and it truncated the output to roughly 4K worth of text. Interestingly enough, it was the last 4K of the log output.

Can you take a look at your log output, copy it and see if it is roughly 4K worth of text? There may be a 4K limit that we never hit before.

from azure-devtestlab.

gregpakes avatar gregpakes commented on September 25, 2024

Hi - I have since changed my powershell script to reduce logging, but I will see if I can do another test.

from azure-devtestlab.

gregpakes avatar gregpakes commented on September 25, 2024

I'm not quite sure how you're calculating the 4k number, but my latest one is truncated to 5,369 characters.

from azure-devtestlab.

leovms avatar leovms commented on September 25, 2024

My test gave me roughly 4K. So, yours is giving you more. I'll have to follow up with the folks from the custom script extension team on this one. Thanks for taking the time to gather more information.

from azure-devtestlab.

leovms avatar leovms commented on September 25, 2024

I did further investigations and I found that the truncation happens as part of the custom script extension itself. It actually writes only the last chunk of text into its own logs, which we then simply display. Therefore, I will follow up with that team to see if there's resolution to this problem.

from azure-devtestlab.

leovms avatar leovms commented on September 25, 2024

We have consulted with the CustomScriptExtension team and they have confirmed they only output the last 4K from stdout / stderr. Because of this limitation, outputting entire logs will not be feasible.

from azure-devtestlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.