Git Product home page Git Product logo

Comments (5)

sbourdeauducq avatar sbourdeauducq commented on June 20, 2024

I guess that for v1.0, we can just redirect the standard output from all experiments into the GUI.

from artiq.

sbourdeauducq avatar sbourdeauducq commented on June 20, 2024

I have implemented this simple solution now.

from artiq.

sbourdeauducq avatar sbourdeauducq commented on June 20, 2024

The discussed features should be there now:

  • log filter in GUI by level (there are no other filters, as I remember from last meeting you did not want them?)
  • colors by level
  • timestamps, source (master, worker, controller, etc.)
  • log files saved on master, with rotation
  • logs from workers, controllers and controller managers are sent to the master and integrated
  • logging from the core device can be done by RPCing the Python log functions. I do not think it makes much sense to try to integrate the log printed on the device's serial port and also accessible via artiq_coretool log, as the latter is typically used to debug situations where low-level components (including the communication code) are broken. Its advantage, though, would be backgrounding/speed (if made accessible to the user) as RPC will wait for a reply.

from artiq.

jordens avatar jordens commented on June 20, 2024

Finer filtering would be on the cartesian product of level and some notion of "source" plus the "source" hierarchy hierarchy. Sounds hairy to me.

from artiq.

 avatar commented on June 20, 2024

I think the following comb will groom this beast.

f = get_search_box_text()
if len(f)>0: # ignore all other filtering (e.g. by source)
    for s in log:
        if s.find(f):
            show_s_in_log()

from artiq.

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.