Git Product home page Git Product logo

Comments (7)

djustinek avatar djustinek commented on June 12, 2024

What about starting it with "./bin/actordb console"

That starts it without deamonizing it.

from actordb.

atomi avatar atomi commented on June 12, 2024

Although I would need to initialize actordb using an external client/image, that does work. But logged output would be better than the erlang shell for docker.

from actordb.

djustinek avatar djustinek commented on June 12, 2024

@atomi

We've added another startup option.

If you build the latest master by yourself you can run it with "./bin/actordb foreground" which won't spawn the erlang console.

By editing the app.config and configuring the console backend the logging output can be routed there, for example:

{lager, [
      {handlers, [
... 
        {lager_console_backend, [debug,
                            {lager_default_formatter,
                            [time," ",pid," ",module," ",line," [",severity,"] ", message, "\n"]}
                            ]},
   ...
      ]}
    ]},

from actordb.

SergejJurecko avatar SergejJurecko commented on June 12, 2024

You probably don't want debug logging. Where it says debug above change to info

from actordb.

atomi avatar atomi commented on June 12, 2024

Thanks,
How do I do I compile the actordb binary? All I see in the Makefile are targets for cmdshell and actordb_tool.
I checked actordb_core too and that just compiles to beam files.

from actordb.

djustinek avatar djustinek commented on June 12, 2024

Run make rel

Release build should be available in rel/acotrdb

from actordb.

atomi avatar atomi commented on June 12, 2024

thanks!

from actordb.

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.