---
name: "lava-worker"
section: "8"
platform: "linux"
package: "lava-dispatcher"
version: "2023.01-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/lava-worker"
---

# lava-worker(8)

manage connections to lava server

" "LAVA"

## NAME

lava-worker - manage connections to lava server

## SUMMARY

**lava-worker** runs the connection to the lava server to manage LAVA test jobs running on the reserved device, sending log messages back to the master. **lava-worker** runs as a daemon.

## USAGE

- **lava-worker \[-h\] \[--hostname HOSTNAME\] \[--debug\] \[--worker-dir WORKER\_DIR\]**

  \--url URL --token TOKEN \[--log-file LOG\_FILE\] \[--level {DEBUG,ERROR,INFO,WARN}\]

## OPTIONS

Options can be passed by editing /etc/default/lava-worker or /etc/lava-dispatcher/lava-worker.

- **optional arguments:**

  - **-h, --help**

    show this help message and exit

  - **--hostname** *HOSTNAME*

    Name of the worker

  - **--debug**

    Debug lava-run

- **storage:**

  - **--worker-dir** *WORKER\_DIR*

    Path to data storage

- **network:**

  - **--url** *URL*

    Base URL of the server

  - **--token** *TOKEN*

    Worker token

- **logging:**

  - **--log-file** *LOG\_FILE*

    Log file for the worker logs

  - **--level {DEBUG,ERROR,INFO,WARN}, -l {DEBUG,ERROR,INFO,WARN}**

    Log level, default to INFO

## AUTHOR

Linaro Validation Team

## COPYRIGHT

2010-2023, Linaro Limited
