---
pageid: cmd.log
title: log
layout: docs
section: Commands
permalink: docs/cmd/log.html
redirect_from: docs/cmd/log/
---

Generates a log line in the watchman log.

~~~bash
$ watchman log debug "log this please"
~~~
