Commit Graph

113 Commits

Author SHA1 Message Date
leonblueconic 5f9fbe0c94 Update awslogs.md (#5816)
the [ and ] need to be escapped to avoid the folling docker error: 
docker: Error response from daemon: failed to initialize logging driver: awslogs could not parse multiline pattern key "[\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1,2][0-9]|3[0,1])T(?:[0,1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]+00:00]": error parsing regexp: invalid character class range: `}-(`.
2018-01-25 18:05:57 -08:00
Misty Stanley-Jones a4f5e30249
Various copyedits to reduce future tense, wordiness, and use of 'please' (#5788)
* Reword lots of instances of 'will'

* Reword lots of instances of won't

* Reword lots of instances of we'll

* Eradicate you'll

* Eradicate 'be able to' type of phrases

* Eradicate 'unable to' type of phrases

* Eradicate 'has / have to' type of phrases

* Eradicate 'note that' type of phrases

* Eradicate 'in order to' type of phrases

* Redirect to official Chef and Puppet docs

* Eradicate gratuitous 'please'

* Reduce use of e.g.

* Reduce use of i.e.

* Reduce use of N.B.

* Get rid of 'sexagesimal' and correct some errors
2018-01-25 17:37:23 -08:00
idi-ot db747309d0 add spacing before grep command (#5780) 2018-01-19 11:39:11 -08:00
Charles Bushong 4d960712b8 Replacing emdash in sample code with dash (#5782)
(╯°□°)╯︵ ┻━┻
2018-01-19 11:38:46 -08:00
dungeonmaster18 e90fbae9e4 Added documentation for fluentd plugin sub-second-precision flag
Signed-off-by: dungeonmaster18 <umesh4257@gmail.com>
2018-01-02 17:13:00 -08:00
Stephen Kuenzli 8ad2680824 Document the `mode` and `max-buffer-size` log options (#5613)
* Document how and why to configure the `mode` and `max-buffer-size` log options
2017-12-27 14:08:47 -08:00
William Richard cd296bbae1 Update journald logging driver options docs (#5572)
* Updated the options docs for journald driver

I have updated the options documentation for the journald logging driver, since I was having trouble understanding how it was supposed to be used.  I modeled it heavily after the google cloud logging driver docs, since I found those helpful in solving my own issues.
2017-12-27 13:04:04 -08:00
Mattias Appelgren a85d664d6b Fix typo of journald env-regex option (#5552) 2017-12-19 13:09:43 -08:00
Miguel A. C 354fac77a7 Add missing logentries row to supported drivers table (#5567) 2017-12-19 13:08:02 -08:00
Igor Karpovich e1f8e68792 Logentries log driver update (#5427)
Documentation updated to include new option described in moby/moby#31726 together with later changes from moby/moby#35626 
Released in 17.09
2017-12-14 15:45:19 -08:00
Trung Lê 8896e88867 mention about `log` metadata (#5319)
fluentd log driver returns a metadata that includes the `log` attribute

This is the main message that fluentd tend to filter on
2017-11-17 12:10:31 -08:00
ripcurld0 0df910d590 Add a note regarding retrieving log messages when tty is enabled (#5321)
When running a container with tty enabled and setting the journald
logging driver, you may see "blob data" instead of the real log
message.

That's because tty appends "\r" to the end of the log line,
which isn't stripped by jorunald unless you specify the "--all" flag.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2017-11-17 12:09:53 -08:00
Euan T 53e2478599 Fix indentation of Python example (#5290) 2017-11-13 11:55:41 -08:00
Misty Stanley-Jones 8d1a1fcb12
Remove unclear content not meant for end users (#5278) 2017-11-10 10:50:08 -08:00
Joao Fernandes aebc09de82 Replace double hyphen (#5081) 2017-10-23 10:16:57 -07:00
Ghislain Bourgeois 3c5e81b7a4 Add TCP documentation for GELF logging driver (#4536)
Signed-off-by: Ghislain Bourgeois <ghislain.bourgeois@gmail.com>
2017-10-17 21:34:07 -07:00
jhughes-mc 1dc7e46c16 Update json-file.md (#4924)
Discovered you must remove the container to use the new logging configuration. Otherwise it will not change and continue to use the old.
2017-10-16 16:12:38 -07:00
Misty Stanley-Jones 454763b0d4 Remove inaccurate note from json log driver docs (#4801) 2017-10-04 16:53:22 -07:00
Gwendolynne Barr 381f2e77c7 Add log-opts to Splunk daemon.json example (#4701) 2017-09-29 15:17:20 -07:00
Wang Jie 07ffdd4f2f Update log_tags.md (#4351) 2017-09-11 16:53:54 -07:00
Rob Moore 527cd9dfad Update explanation of special device symlinks (#4505)
The symlinks are described the wrong way round and suggest that /dev/stdout and /dev/stderr are being overwritten, but that's not true - ln -s /dev/stdout /var/log/nginx/access.log creates a symlink at access.log pointing to /dev/stdout.

See `man ln`
2017-09-11 16:53:19 -07:00
Wang Jie 5eb4719c9a Update awslogs.md (#4352) 2017-08-31 13:09:17 -07:00
Wang Jie ad7c384752 Update journald.md (#4368) 2017-08-28 16:54:47 -07:00
Wang Jie 0e1c076c90 Update gcplogs.md (#4367) 2017-08-28 16:54:15 -07:00
Wang Jie f7304180aa Update fluentd.md (#4364) 2017-08-28 16:53:46 -07:00
Wang Jie bc32009540 Update syslog.md (#4349) 2017-08-28 16:48:25 -07:00
Wang Jie 0634f1ffe6 Update gelf.md (#4331) 2017-08-23 16:32:17 -07:00
Wang Jie 795a4e6a42 Update plugins.md (#4329) 2017-08-23 16:30:02 -07:00
asilversempirical 678bb44701 Drop "docker/" prefix from tags (#4157)
It's no longer accurate as of https://github.com/moby/moby/pull/22384

Fixes https://github.com/moby/moby/issues/30324
2017-08-10 15:00:40 -07:00
searchsolaris 160c2a309e Update syslog.md (#4076)
Broken example.  Update the example from:

{
  "log-driver": "syslog",
  "log-opts": {
    "syslog": "udp://1.2.3.4:1111"
  }
}

To:

{
  "log-driver": "syslog",
  "log-opts": {
    "syslog-address": "udp://1.2.3.4:1111"
  }
}
2017-08-03 15:49:32 -07:00
Jochen Preusche c9f130a3c7 Correct example of daemon.json log-opts config (#3998)
* Update docs so that log-opts takes map (`{}`) instead of array (`[]`)
2017-08-01 11:54:40 -07:00
Trapier Marshall 847fd83449 Note default max-size and max-file for json-file (#3924)
The json-file logger does not rotate log files by default.  This
behavior is worthy of documentation.

Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
2017-07-26 10:12:49 -07:00
Tema Bolshakov 291c7ad768 Fix type (#3954) 2017-07-24 18:08:06 -07:00
Matthias Glastra 37bad6c8c9 Update json-file.md (#3878)
The -- for log-driver where incorrect.
2017-07-18 14:04:13 -07:00
rotunba 6ae2cf46d9 Fix typo (#3797) 2017-07-05 16:51:17 -07:00
Misty Stanley-Jones c8e4f35af0 Fix broken link to plugins topic (#3802) 2017-07-05 10:55:18 -07:00
Misty Stanley-Jones 4b4f6448f8 Add ending code fence (#3793)
Fixes #3792
2017-07-03 14:03:31 -07:00
Misty Stanley-Jones 039582deeb Add redirect for old logging landing page (#3788)
Also add mention of docker service logs commands
2017-07-03 12:30:10 -07:00
Justin Menga b3b76b2293 Fix incorrect regular expression in awslogs example (#3757)
Signed-off-by: Justin Menga <justin.menga@gmail.com>
2017-06-30 16:41:49 -07:00
Justin Menga cd2355d8f8 Fix incorrect awslogs option names (#3736)
Signed-off-by: Justin Menga <justin.menga@gmail.com>
2017-06-29 13:56:27 -07:00
Misty Stanley-Jones 7f966c4c10 Remove edge-only admonitions 2017-06-28 08:31:29 -07:00
Bingshen Wang 7a0c285574 Update json-file.md (#3716)
Fix typo in the `json-file` driver document.
2017-06-27 13:36:04 -07:00
Justin Menga b1d32c948c Update awslogs.md (#3319)
* Add docs for awslogs-multiline-pattern and awslogs-datetime-format

Signed-off-by: Justin Menga <justin.menga@gmail.com>
2017-06-26 09:27:02 -07:00
Misty Stanley-Jones b63c1aee78 Fix broken link (#3658) 2017-06-20 11:53:15 -07:00
Misty Stanley-Jones baaead7cdd Update logging driver options from code 2017-06-20 11:07:50 -07:00
kudabaev fd0eb53dd1 Errata (#3526)
Line 62: “syslog=udp://1.2.3.4:1111” should be “syslog-address=udp://1.2.3.4:1111”
2017-06-12 11:34:31 -07:00
Swapnil Kulkarni 58f3632285 Update syslog documentation for typo (#3502)
There is a typo of UDP which is spelled as UP.
Corrected it.

Signed-off-by: Swapnil Kulkarni <me@coolsvap.net>
2017-06-08 12:05:04 -07:00
Misty Stanley-Jones d88478a722 Document logging driver plugins (#3440) 2017-06-01 13:43:11 -07:00
Lorenzo Fontana 64de468317 Splitting all the logging drivers (#2975)
* Splitting logging drivers

Signed-off-by: Lorenzo Fontana <lo@linux.com>
2017-05-10 10:56:13 -07:00
French Ben fe0620225d Added note on tag formatting of docker image (#3207)
* Added note on tag formatting of docker image

Signed-off-by: French Ben <frenchben@docker.com>

* Updated notes

Signed-off-by: French Ben <frenchben@docker.com>
2017-05-09 13:02:24 -07:00