{"action":"created","issue":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/1731","repository_url":"https://api.github.com/repos/scrapy/scrapy","labels_url":"https://api.github.com/repos/scrapy/scrapy/issues/1731/labels{/name}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/1731/comments","events_url":"https://api.github.com/repos/scrapy/scrapy/issues/1731/events","html_url":"https://github.com/scrapy/scrapy/pull/1731","id":129097753,"number":1731,"title":"[MRG+1] LOG_SHORT_NAMES option to disable TopLevelFormatter","user":{"login":"kmike","id":107893,"avatar_url":"https://avatars.githubusercontent.com/u/107893?v=3","gravatar_id":"","url":"https://api.github.com/users/kmike","html_url":"https://github.com/kmike","followers_url":"https://api.github.com/users/kmike/followers","following_url":"https://api.github.com/users/kmike/following{/other_user}","gists_url":"https://api.github.com/users/kmike/gists{/gist_id}","starred_url":"https://api.github.com/users/kmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmike/subscriptions","organizations_url":"https://api.github.com/users/kmike/orgs","repos_url":"https://api.github.com/users/kmike/repos","events_url":"https://api.github.com/users/kmike/events{/privacy}","received_events_url":"https://api.github.com/users/kmike/received_events","type":"User","site_admin":false},"labels":[{"id":255389929,"url":"https://api.github.com/repos/scrapy/scrapy/labels/backward-incompatible","name":"backward-incompatible","color":"eb6420","default":false},{"id":317415181,"url":"https://api.github.com/repos/scrapy/scrapy/labels/logging","name":"logging","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-01-27T10:23:53Z","updated_at":"2016-12-16T17:31:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scrapy/scrapy/pulls/1731","html_url":"https://github.com/scrapy/scrapy/pull/1731","diff_url":"https://github.com/scrapy/scrapy/pull/1731.diff","patch_url":"https://github.com/scrapy/scrapy/pull/1731.patch"},"body":"Fixes https://github.com/scrapy/scrapy/issues/1309\r\n\r\nThis is a rebased version of https://github.com/scrapy/scrapy/pull/1583. \r\n\r\nLike in @akhillb's PR, default value is False, i.e. logs are switched to long names by default. Is that OK?\r\n\r\nTODO:\r\n- [x] tests\r\n- [ ] confirm that's OK to use long names by default\r\n- [x] update output of examples in docs\r\n- [x] add example of overriding log level for a specific Scrapy component\r\n"},"comment":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/comments/267649106","html_url":"https://github.com/scrapy/scrapy/pull/1731#issuecomment-267649106","issue_url":"https://api.github.com/repos/scrapy/scrapy/issues/1731","id":267649106,"user":{"login":"redapple","id":886296,"avatar_url":"https://avatars.githubusercontent.com/u/886296?v=3","gravatar_id":"","url":"https://api.github.com/users/redapple","html_url":"https://github.com/redapple","followers_url":"https://api.github.com/users/redapple/followers","following_url":"https://api.github.com/users/redapple/following{/other_user}","gists_url":"https://api.github.com/users/redapple/gists{/gist_id}","starred_url":"https://api.github.com/users/redapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redapple/subscriptions","organizations_url":"https://api.github.com/users/redapple/orgs","repos_url":"https://api.github.com/users/redapple/repos","events_url":"https://api.github.com/users/redapple/events{/privacy}","received_events_url":"https://api.github.com/users/redapple/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T17:31:01Z","updated_at":"2016-12-16T17:31:01Z","body":"(before I forget, and just as a note to self mainly, I've seen this for Elasticsearch -- maybe it's common in the Java world: the module has 1-letter levels, only the last one is a full name:\r\n\r\n```\r\n$ ./bin/elasticsearch\r\n[2016-12-16T18:24:39,647][INFO ][o.e.n.Node               ] [] initializing ...\r\n[2016-12-16T18:24:40,260][INFO ][o.e.e.NodeEnvironment    ] [gJGLBp4] using [1] data paths, mounts [[/ (/dev/sdb1)]], net usable_space [123.1gb], net total_space [450.5gb], spins? [possibly], types [ext4]\r\n[2016-12-16T18:24:40,261][INFO ][o.e.e.NodeEnvironment    ] [gJGLBp4] heap size [1.9gb], compressed ordinary object pointers [true]\r\n[2016-12-16T18:24:40,617][INFO ][o.e.n.Node               ] node name [gJGLBp4] derived from node ID [gJGLBp4PTR63XS_RAGppkQ]; set [node.name] to override\r\n[2016-12-16T18:24:40,666][INFO ][o.e.n.Node               ] version[5.1.1], pid[15166], build[5395e21/2016-12-06T12:36:15.409Z], OS[Linux/4.4.0-53-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_05/25.5-b02]\r\n[2016-12-16T18:24:44,101][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [aggs-matrix-stats]\r\n[2016-12-16T18:24:44,101][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [ingest-common]\r\n[2016-12-16T18:24:44,102][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [lang-expression]\r\n[2016-12-16T18:24:44,102][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [lang-groovy]\r\n[2016-12-16T18:24:44,102][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [lang-mustache]\r\n[2016-12-16T18:24:44,102][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [lang-painless]\r\n[2016-12-16T18:24:44,102][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [percolator]\r\n[2016-12-16T18:24:44,102][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [reindex]\r\n[2016-12-16T18:24:44,103][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [transport-netty3]\r\n[2016-12-16T18:24:44,103][INFO ][o.e.p.PluginsService     ] [gJGLBp4] loaded module [transport-netty4]\r\n[2016-12-16T18:24:44,103][INFO ][o.e.p.PluginsService     ] [gJGLBp4] no plugins loaded\r\n[2016-12-16T18:24:50,223][INFO ][o.e.n.Node               ] initialized\r\n[2016-12-16T18:24:50,223][INFO ][o.e.n.Node               ] [gJGLBp4] starting ...\r\n[2016-12-16T18:24:50,510][INFO ][o.e.t.TransportService   ] [gJGLBp4] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}\r\n[2016-12-16T18:24:50,516][WARN ][o.e.b.BootstrapCheck     ] [gJGLBp4] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]\r\n[2016-12-16T18:24:53,708][INFO ][o.e.c.s.ClusterService   ] [gJGLBp4] new_master {gJGLBp4}{gJGLBp4PTR63XS_RAGppkQ}{Gil2k4u_T5q8lQU-V_keoQ}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)\r\n[2016-12-16T18:24:53,797][INFO ][o.e.h.HttpServer         ] [gJGLBp4] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}\r\n[2016-12-16T18:24:53,797][INFO ][o.e.n.Node               ] [gJGLBp4] started\r\n[2016-12-16T18:24:54,570][INFO ][o.e.g.GatewayService     ] [gJGLBp4] recovered [2] indices into cluster_state\r\n[2016-12-16T18:24:58,117][INFO ][o.e.c.r.a.AllocationService] [gJGLBp4] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).\r\n```\r\n)"}}
{"actor":{"display_login":"redapple"}}