Git Product home page Git Product logo

Comments (10)

maackle avatar maackle commented on June 3, 2024 2

Hey @nphias, @milkyklim this was a simple bug of invalid config being generated, it should be fixed in 0.3.2-dev.3 which I just published.

from tryorama.

nphias avatar nphias commented on June 3, 2024 1

oh nice.. will try it and close the issue if it works..
.. .One other thing on the wish list would be a config to filter out debug messages that are about the state of the conductor and network.... from debug messages that tell us zome interaction and testing..

from tryorama.

maackle avatar maackle commented on June 3, 2024

Oops, it was a mistake to let that version get tagged as the latest version. Can you try it with 0.3.1?

from tryorama.

nphias avatar nphias commented on June 3, 2024

same error

20:31:11 info:
★★★ [[[CONDUCTOR alice]]]
★ Error while trying to boot from config: IoError("Error loading configuration: missing field type for key logger")

20:31:11 [tryorama] info: conductor 'alice' exited with code 0
not ok 1 Conductor exited before starting interface (code 0)

from tryorama.

milkyklim avatar milkyklim commented on June 3, 2024

Seems related.

If I set different verbosity level for logger, e.g. error or info, I get the same output. Using version "@holochain/tryorama": "^0.3.0".

from tryorama.

milkyklim avatar milkyklim commented on June 3, 2024

Works on my side, thanks for the fix.

from tryorama.

nphias avatar nphias commented on June 3, 2024

its not working for me ... @milkyklim can you paste your code?
i guess it should be something like

,{
    logger: Config.logger({level:"error"})
   }

from tryorama.

milkyklim avatar milkyklim commented on June 3, 2024
const config = Config.gen(
  {
   hello_holo: dna,
  },
  {
    logger: Config.logger(false),
  },
);

from tryorama.

milkyklim avatar milkyklim commented on June 3, 2024

@nphias dictionary key is type, not level.

If I change your code it works on my side.

from tryorama.

nphias avatar nphias commented on June 3, 2024

ok got it working.. i understand ... it moderates logging that the core spits out not test logs

const mainConfig = Config.gen({
    logger: Config.logger({type:"error"})
  })

or to just turn off all:

const mainConfig = Config.gen({
    logger: Config.logger(false)
  })

from tryorama.

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.