#Help me please !!

1 messages · Page 1 of 1 (latest)

gloomy stream
#

Hi everyone, I'm new to devops and I discovered the dagger product for it, and I want to know where I can view the logs, because I work locally and I want to see my logs, for example with gitlab we have access to the logs (either to modify or just see) but with dagger I don't know how to do that! thank you for your help....

nimble hawk
#

Hi @gloomy stream. If you’re using the python sdk, are you using the parameter log_output=sys.stderrwhile connecting to the session ?
e.g:

async with dagger.Connection(dagger.Config(log_output=sys.stderr)) as client…

This should output logs while running your script

versed star
#

In addition to what JF shared, you can also use the dagger CLI to use the Terminal User Interface (TUI) by running your Python Dagger pipeline via dagger run.

For example (on my Mac):

brew install dagger
git clone https://github.com/dagger/examples
cd examples/python/db-service
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip && pip install dagger-io

dagger run python pipeline.py
gloomy stream
#

@nimble hawk @versed star Another question please, Is this dagger compatible with Kubernetes? How to run a Dagger pipeline with Kubernetes? How to create and maintain a pipeline? Thank's

clever kelp