log4r 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (404) hide show
  1. data/README +16 -14
  2. data/Rakefile +4 -4
  3. data/doc/content/contact.html +1 -1
  4. data/doc/content/contribute.html +1 -1
  5. data/doc/content/index.html +1 -1
  6. data/doc/content/license.html +1 -1
  7. data/doc/content/manual.html +1 -1
  8. data/doc/dev/README.developers +1 -1
  9. data/doc/dev/checklist +1 -1
  10. data/doc/rdoc-log4r.css +1 -1
  11. data/examples/ancestors.rb +53 -0
  12. data/examples/customlevels.rb +1 -1
  13. data/examples/filelog.rb +1 -1
  14. data/examples/fileroll.rb +2 -2
  15. data/examples/gmail.rb +30 -0
  16. data/examples/gmail.yaml +95 -0
  17. data/examples/logclient.rb +1 -1
  18. data/examples/logs/TestSize000001.log +575 -0
  19. data/examples/logs/TestSize000002.log +567 -0
  20. data/examples/logs/TestSize000003.log +552 -0
  21. data/examples/logs/TestSize000004.log +552 -0
  22. data/examples/logs/TestSize000005.log +552 -0
  23. data/examples/logs/TestSize000006.log +552 -0
  24. data/examples/logs/TestSize000007.log +552 -0
  25. data/examples/logs/TestSize000008.log +552 -0
  26. data/examples/logs/TestSize000009.log +552 -0
  27. data/examples/logs/TestSize000010.log +552 -0
  28. data/examples/logs/TestSize000011.log +552 -0
  29. data/examples/logs/TestSize000012.log +552 -0
  30. data/examples/logs/TestSize000013.log +552 -0
  31. data/examples/logs/TestSize000014.log +552 -0
  32. data/examples/logs/TestSize000015.log +552 -0
  33. data/examples/logs/TestSize000016.log +552 -0
  34. data/examples/logs/TestSize000017.log +552 -0
  35. data/examples/logs/TestSize000018.log +552 -0
  36. data/examples/logs/TestSize000019.log +535 -0
  37. data/examples/logs/TestSize000020.log +534 -0
  38. data/examples/logs/TestSize000021.log +534 -0
  39. data/examples/logs/TestSize000022.log +534 -0
  40. data/examples/logs/TestSize000023.log +534 -0
  41. data/examples/logs/TestSize000024.log +534 -0
  42. data/examples/logs/TestSize000025.log +534 -0
  43. data/examples/logs/TestSize000026.log +534 -0
  44. data/examples/logs/TestSize000027.log +534 -0
  45. data/examples/logs/TestSize000028.log +534 -0
  46. data/examples/logs/TestSize000029.log +534 -0
  47. data/examples/logs/TestSize000030.log +534 -0
  48. data/examples/logs/TestSize000031.log +534 -0
  49. data/examples/logs/TestSize000032.log +534 -0
  50. data/examples/logs/TestSize000033.log +534 -0
  51. data/examples/logs/TestSize000034.log +534 -0
  52. data/examples/logs/TestSize000035.log +534 -0
  53. data/examples/logs/TestSize000036.log +534 -0
  54. data/examples/logs/TestSize000037.log +534 -0
  55. data/examples/logs/TestSize000038.log +534 -0
  56. data/examples/logs/TestSize000039.log +534 -0
  57. data/examples/logs/TestSize000040.log +534 -0
  58. data/examples/logs/TestSize000041.log +534 -0
  59. data/examples/logs/TestSize000042.log +534 -0
  60. data/examples/logs/TestSize000043.log +534 -0
  61. data/examples/logs/TestSize000044.log +534 -0
  62. data/examples/logs/TestSize000045.log +534 -0
  63. data/examples/logs/TestSize000046.log +534 -0
  64. data/examples/logs/TestSize000047.log +534 -0
  65. data/examples/logs/TestSize000048.log +534 -0
  66. data/examples/logs/TestSize000049.log +534 -0
  67. data/examples/logs/TestSize000050.log +534 -0
  68. data/examples/logs/TestSize000051.log +534 -0
  69. data/examples/logs/TestSize000052.log +534 -0
  70. data/examples/logs/TestSize000053.log +534 -0
  71. data/examples/logs/TestSize000054.log +534 -0
  72. data/examples/logs/TestSize000055.log +534 -0
  73. data/examples/logs/TestSize000056.log +534 -0
  74. data/examples/logs/TestSize000057.log +534 -0
  75. data/examples/logs/TestSize000058.log +534 -0
  76. data/examples/logs/TestSize000059.log +534 -0
  77. data/examples/logs/TestSize000060.log +534 -0
  78. data/examples/logs/TestSize000061.log +534 -0
  79. data/examples/logs/TestSize000062.log +534 -0
  80. data/examples/logs/TestSize000063.log +534 -0
  81. data/examples/logs/TestSize000064.log +534 -0
  82. data/examples/logs/TestSize000065.log +534 -0
  83. data/examples/logs/TestSize000066.log +534 -0
  84. data/examples/logs/TestSize000067.log +534 -0
  85. data/examples/logs/TestSize000068.log +534 -0
  86. data/examples/logs/TestSize000069.log +534 -0
  87. data/examples/logs/TestSize000070.log +534 -0
  88. data/examples/logs/TestSize000071.log +534 -0
  89. data/examples/logs/TestSize000072.log +534 -0
  90. data/examples/logs/TestSize000073.log +534 -0
  91. data/examples/logs/TestSize000074.log +534 -0
  92. data/examples/logs/TestSize000075.log +534 -0
  93. data/examples/logs/TestSize000076.log +534 -0
  94. data/examples/logs/TestSize000077.log +534 -0
  95. data/examples/logs/TestSize000078.log +534 -0
  96. data/examples/logs/TestSize000079.log +534 -0
  97. data/examples/logs/TestSize000080.log +534 -0
  98. data/examples/logs/TestSize000081.log +534 -0
  99. data/examples/logs/TestSize000082.log +534 -0
  100. data/examples/logs/TestSize000083.log +534 -0
  101. data/examples/logs/TestSize000084.log +534 -0
  102. data/examples/logs/TestSize000085.log +534 -0
  103. data/examples/logs/TestSize000086.log +534 -0
  104. data/examples/logs/TestSize000087.log +534 -0
  105. data/examples/logs/TestSize000088.log +534 -0
  106. data/examples/logs/TestSize000089.log +534 -0
  107. data/examples/logs/TestSize000090.log +534 -0
  108. data/examples/logs/TestSize000091.log +534 -0
  109. data/examples/logs/TestSize000092.log +534 -0
  110. data/examples/logs/TestSize000093.log +534 -0
  111. data/examples/logs/TestSize000094.log +534 -0
  112. data/examples/logs/TestSize000095.log +534 -0
  113. data/examples/logs/TestSize000096.log +534 -0
  114. data/examples/logs/TestSize000097.log +534 -0
  115. data/examples/logs/TestSize000098.log +534 -0
  116. data/examples/logs/TestSize000099.log +534 -0
  117. data/examples/logs/TestSize000100.log +534 -0
  118. data/examples/logs/TestSize000101.log +534 -0
  119. data/examples/logs/TestSize000102.log +534 -0
  120. data/examples/logs/TestSize000103.log +534 -0
  121. data/examples/logs/TestSize000104.log +534 -0
  122. data/examples/logs/TestSize000105.log +534 -0
  123. data/examples/logs/TestSize000106.log +534 -0
  124. data/examples/logs/TestSize000107.log +534 -0
  125. data/examples/logs/TestSize000108.log +534 -0
  126. data/examples/logs/TestSize000109.log +534 -0
  127. data/examples/logs/TestSize000110.log +534 -0
  128. data/examples/logs/TestSize000111.log +534 -0
  129. data/examples/logs/TestSize000112.log +534 -0
  130. data/examples/logs/TestSize000113.log +534 -0
  131. data/examples/logs/TestSize000114.log +534 -0
  132. data/examples/logs/TestSize000115.log +534 -0
  133. data/examples/logs/TestSize000116.log +534 -0
  134. data/examples/logs/TestSize000117.log +534 -0
  135. data/examples/logs/TestSize000118.log +534 -0
  136. data/examples/logs/TestSize000119.log +534 -0
  137. data/examples/logs/TestSize000120.log +534 -0
  138. data/examples/logs/TestSize000121.log +534 -0
  139. data/examples/logs/TestSize000122.log +534 -0
  140. data/examples/logs/TestSize000123.log +534 -0
  141. data/examples/logs/TestSize000124.log +534 -0
  142. data/examples/logs/TestSize000125.log +534 -0
  143. data/examples/logs/TestSize000126.log +534 -0
  144. data/examples/logs/TestSize000127.log +534 -0
  145. data/examples/logs/TestSize000128.log +534 -0
  146. data/examples/logs/TestSize000129.log +534 -0
  147. data/examples/logs/TestSize000130.log +534 -0
  148. data/examples/logs/TestSize000131.log +534 -0
  149. data/examples/logs/TestSize000132.log +534 -0
  150. data/examples/logs/TestSize000133.log +534 -0
  151. data/examples/logs/TestSize000134.log +534 -0
  152. data/examples/logs/TestSize000135.log +534 -0
  153. data/examples/logs/TestSize000136.log +534 -0
  154. data/examples/logs/TestSize000137.log +534 -0
  155. data/examples/logs/TestSize000138.log +534 -0
  156. data/examples/logs/TestSize000139.log +534 -0
  157. data/examples/logs/TestSize000140.log +534 -0
  158. data/examples/logs/TestSize000141.log +534 -0
  159. data/examples/logs/TestSize000142.log +534 -0
  160. data/examples/logs/TestSize000143.log +534 -0
  161. data/examples/logs/TestSize000144.log +534 -0
  162. data/examples/logs/TestSize000145.log +534 -0
  163. data/examples/logs/TestSize000146.log +534 -0
  164. data/examples/logs/TestSize000147.log +534 -0
  165. data/examples/logs/TestSize000148.log +534 -0
  166. data/examples/logs/TestSize000149.log +534 -0
  167. data/examples/logs/TestSize000150.log +534 -0
  168. data/examples/logs/TestSize000151.log +534 -0
  169. data/examples/logs/TestSize000152.log +534 -0
  170. data/examples/logs/TestSize000153.log +534 -0
  171. data/examples/logs/TestSize000154.log +534 -0
  172. data/examples/logs/TestSize000155.log +534 -0
  173. data/examples/logs/TestSize000156.log +534 -0
  174. data/examples/logs/TestSize000157.log +534 -0
  175. data/examples/logs/TestSize000158.log +534 -0
  176. data/examples/logs/TestSize000159.log +534 -0
  177. data/examples/logs/TestSize000160.log +534 -0
  178. data/examples/logs/TestSize000161.log +534 -0
  179. data/examples/logs/TestSize000162.log +534 -0
  180. data/examples/logs/TestSize000163.log +534 -0
  181. data/examples/logs/TestSize000164.log +534 -0
  182. data/examples/logs/TestSize000165.log +534 -0
  183. data/examples/logs/TestSize000166.log +534 -0
  184. data/examples/logs/TestSize000167.log +534 -0
  185. data/examples/logs/TestSize000168.log +534 -0
  186. data/examples/logs/TestSize000169.log +534 -0
  187. data/examples/logs/TestSize000170.log +534 -0
  188. data/examples/logs/TestSize000171.log +534 -0
  189. data/examples/logs/TestSize000172.log +534 -0
  190. data/examples/logs/TestSize000173.log +534 -0
  191. data/examples/logs/TestSize000174.log +534 -0
  192. data/examples/logs/TestSize000175.log +534 -0
  193. data/examples/logs/TestSize000176.log +534 -0
  194. data/examples/logs/TestSize000177.log +534 -0
  195. data/examples/logs/TestSize000178.log +534 -0
  196. data/examples/logs/TestSize000179.log +534 -0
  197. data/examples/logs/TestSize000180.log +534 -0
  198. data/examples/logs/TestSize000181.log +534 -0
  199. data/examples/logs/TestSize000182.log +534 -0
  200. data/examples/logs/TestSize000183.log +534 -0
  201. data/examples/logs/TestSize000184.log +534 -0
  202. data/examples/logs/TestSize000185.log +534 -0
  203. data/examples/logs/TestSize000186.log +534 -0
  204. data/examples/logs/TestSize000187.log +313 -0
  205. data/examples/logs/TestTime000001.log +10 -0
  206. data/examples/logs/TestTime000002.log +10 -0
  207. data/examples/logs/TestTime000003.log +10 -0
  208. data/examples/logs/TestTime000004.log +10 -0
  209. data/examples/logs/TestTime000005.log +10 -0
  210. data/examples/logs/TestTime000006.log +10 -0
  211. data/examples/logs/TestTime000007.log +10 -0
  212. data/examples/logs/TestTime000008.log +10 -0
  213. data/examples/logs/TestTime000009.log +10 -0
  214. data/examples/logs/TestTime000010.log +10 -0
  215. data/examples/logs/TestTime000011.log +10 -0
  216. data/examples/logs/TestTime000012.log +10 -0
  217. data/examples/logs/TestTime000013.log +10 -0
  218. data/examples/logs/TestTime000014.log +9 -0
  219. data/examples/logs/TestTime000015.log +10 -0
  220. data/examples/logs/TestTime000016.log +10 -0
  221. data/examples/logs/TestTime000017.log +10 -0
  222. data/examples/logs/TestTime000018.log +10 -0
  223. data/examples/logs/TestTime000019.log +10 -0
  224. data/examples/logs/TestTime000020.log +10 -0
  225. data/examples/logs/TestTime000021.log +1 -0
  226. data/examples/logserver.rb +1 -1
  227. data/examples/moderateconfig.rb +1 -1
  228. data/examples/myformatter.rb +1 -1
  229. data/examples/outofthebox.rb +1 -1
  230. data/examples/rrsetup.rb +1 -1
  231. data/examples/simpleconfig.rb +1 -1
  232. data/examples/syslogcustom.rb +1 -1
  233. data/examples/xmlconfig.rb +1 -1
  234. data/examples/yaml.rb +1 -1
  235. data/{src → lib}/log4r.rb +2 -2
  236. data/{src → lib}/log4r/GDC.rb +1 -1
  237. data/{src → lib}/log4r/MDC.rb +1 -1
  238. data/{src → lib}/log4r/NDC.rb +1 -1
  239. data/{src → lib}/log4r/base.rb +0 -0
  240. data/{src → lib}/log4r/config.rb +1 -1
  241. data/{src → lib}/log4r/configurator.rb +1 -1
  242. data/{src → lib}/log4r/formatter/formatter.rb +1 -1
  243. data/{src → lib}/log4r/formatter/log4jxmlformatter.rb +61 -61
  244. data/{src → lib}/log4r/formatter/patternformatter.rb +3 -2
  245. data/{src → lib}/log4r/lib/drbloader.rb +0 -0
  246. data/{src → lib}/log4r/lib/xmlloader.rb +0 -0
  247. data/{src → lib}/log4r/logevent.rb +0 -0
  248. data/{src → lib}/log4r/logger.rb +6 -1
  249. data/{src → lib}/log4r/loggerfactory.rb +1 -1
  250. data/{src → lib}/log4r/logserver.rb +0 -0
  251. data/{src → lib}/log4r/outputter/consoleoutputters.rb +0 -0
  252. data/{src → lib}/log4r/outputter/datefileoutputter.rb +0 -0
  253. data/{src → lib}/log4r/outputter/emailoutputter.rb +54 -29
  254. data/{src → lib}/log4r/outputter/fileoutputter.rb +1 -1
  255. data/{src → lib}/log4r/outputter/iooutputter.rb +0 -0
  256. data/{src → lib}/log4r/outputter/outputter.rb +6 -4
  257. data/{src → lib}/log4r/outputter/outputterfactory.rb +4 -2
  258. data/{src → lib}/log4r/outputter/remoteoutputter.rb +0 -0
  259. data/lib/log4r/outputter/rollingfileoutputter.rb +234 -0
  260. data/{src → lib}/log4r/outputter/staticoutputter.rb +1 -1
  261. data/{src → lib}/log4r/outputter/syslogoutputter.rb +1 -1
  262. data/{src → lib}/log4r/outputter/udpoutputter.rb +1 -1
  263. data/{src → lib}/log4r/rdoc/GDC +0 -0
  264. data/{src → lib}/log4r/rdoc/MDC +0 -0
  265. data/{src → lib}/log4r/rdoc/NDC +0 -0
  266. data/{src → lib}/log4r/rdoc/configurator +0 -0
  267. data/{src → lib}/log4r/rdoc/emailoutputter +0 -0
  268. data/{src → lib}/log4r/rdoc/formatter +0 -0
  269. data/{src → lib}/log4r/rdoc/log4r +0 -0
  270. data/{src → lib}/log4r/rdoc/logger +0 -0
  271. data/{src → lib}/log4r/rdoc/logserver +0 -0
  272. data/{src → lib}/log4r/rdoc/outputter +0 -0
  273. data/{src → lib}/log4r/rdoc/patternformatter +0 -0
  274. data/{src → lib}/log4r/rdoc/syslogoutputter +0 -0
  275. data/{src → lib}/log4r/rdoc/win32eventoutputter +0 -0
  276. data/{src → lib}/log4r/rdoc/yamlconfigurator +0 -0
  277. data/{src → lib}/log4r/repository.rb +1 -1
  278. data/{src → lib}/log4r/staticlogger.rb +0 -0
  279. data/{src → lib}/log4r/yamlconfigurator.rb +1 -1
  280. data/tests/junk/test +0 -0
  281. data/tests/junk/tmp +0 -0
  282. data/tests/junk/tmpx.log +0 -0
  283. data/tests/testGDC.rb +1 -1
  284. data/tests/testMDC.rb +1 -1
  285. data/tests/testNDC.rb +1 -1
  286. data/tests/testall.rb +1 -1
  287. data/tests/testbase.rb +1 -1
  288. data/tests/testchainsaw.rb +1 -1
  289. data/tests/testlogger.rb +5 -5
  290. data/tests/testoutputter.rb +65 -44
  291. data/tests/testpatternformatter.rb +2 -2
  292. data/tests/testthreads.rb +23 -11
  293. metadata +263 -159
  294. data/doc/rdoc/Log4r.html +0 -519
  295. data/doc/rdoc/Log4r/BasicFormatter.html +0 -388
  296. data/doc/rdoc/Log4r/ConfigError.html +0 -225
  297. data/doc/rdoc/Log4r/Configurator.html +0 -1068
  298. data/doc/rdoc/Log4r/DateFileOutputter.html +0 -479
  299. data/doc/rdoc/Log4r/DefaultFormatter.html +0 -223
  300. data/doc/rdoc/Log4r/EmailOutputter.html +0 -654
  301. data/doc/rdoc/Log4r/FileOutputter.html +0 -346
  302. data/doc/rdoc/Log4r/Formatter.html +0 -309
  303. data/doc/rdoc/Log4r/GDC.html +0 -346
  304. data/doc/rdoc/Log4r/GDC_rb.html +0 -80
  305. data/doc/rdoc/Log4r/IOOutputter.html +0 -410
  306. data/doc/rdoc/Log4r/Log4jXmlFormatter.html +0 -337
  307. data/doc/rdoc/Log4r/Log4rConfig.html +0 -211
  308. data/doc/rdoc/Log4r/Log4rTools.html +0 -388
  309. data/doc/rdoc/Log4r/LogEvent.html +0 -378
  310. data/doc/rdoc/Log4r/LogServer.html +0 -340
  311. data/doc/rdoc/Log4r/Logger.html +0 -1150
  312. data/doc/rdoc/Log4r/Logger/LoggerFactory.html +0 -218
  313. data/doc/rdoc/Log4r/Logger/Repository.html +0 -225
  314. data/doc/rdoc/Log4r/MDC.html +0 -424
  315. data/doc/rdoc/Log4r/MDC_rb.html +0 -83
  316. data/doc/rdoc/Log4r/NDC.html +0 -632
  317. data/doc/rdoc/Log4r/NDC_rb.html +0 -110
  318. data/doc/rdoc/Log4r/ObjectFormatter.html +0 -280
  319. data/doc/rdoc/Log4r/Outputter.html +0 -934
  320. data/doc/rdoc/Log4r/Outputter/OutputterFactory.html +0 -218
  321. data/doc/rdoc/Log4r/Outputter/consoleoutputters_rb.html +0 -57
  322. data/doc/rdoc/Log4r/Outputter/datefileoutputter_rb.html +0 -93
  323. data/doc/rdoc/Log4r/Outputter/emailoutputter_rb.html +0 -179
  324. data/doc/rdoc/Log4r/Outputter/fileoutputter_rb.html +0 -64
  325. data/doc/rdoc/Log4r/Outputter/iooutputter_rb.html +0 -59
  326. data/doc/rdoc/Log4r/Outputter/outputter_rb.html +0 -222
  327. data/doc/rdoc/Log4r/Outputter/outputterfactory_rb.html +0 -62
  328. data/doc/rdoc/Log4r/Outputter/remoteoutputter_rb.html +0 -59
  329. data/doc/rdoc/Log4r/Outputter/rollingfileoutputter_rb.html +0 -66
  330. data/doc/rdoc/Log4r/Outputter/staticoutputter_rb.html +0 -55
  331. data/doc/rdoc/Log4r/Outputter/syslogoutputter_rb.html +0 -110
  332. data/doc/rdoc/Log4r/Outputter/udpoutputter_rb.html +0 -220
  333. data/doc/rdoc/Log4r/PatternFormatter.html +0 -404
  334. data/doc/rdoc/Log4r/ROMPClient.html +0 -211
  335. data/doc/rdoc/Log4r/ROMPServer.html +0 -211
  336. data/doc/rdoc/Log4r/RemoteOutputter.html +0 -402
  337. data/doc/rdoc/Log4r/RollingFileOutputter.html +0 -551
  338. data/doc/rdoc/Log4r/RootLogger.html +0 -530
  339. data/doc/rdoc/Log4r/SimpleFormatter.html +0 -276
  340. data/doc/rdoc/Log4r/StderrOutputter.html +0 -268
  341. data/doc/rdoc/Log4r/StdoutOutputter.html +0 -268
  342. data/doc/rdoc/Log4r/SyslogOutputter.html +0 -551
  343. data/doc/rdoc/Log4r/UDPOutputter.html +0 -379
  344. data/doc/rdoc/Log4r/YamlConfigurator.html +0 -966
  345. data/doc/rdoc/Log4r/base_rb.html +0 -57
  346. data/doc/rdoc/Log4r/config_rb.html +0 -122
  347. data/doc/rdoc/Log4r/configurator_rb.html +0 -370
  348. data/doc/rdoc/Log4r/formatter/formatter_rb.html +0 -121
  349. data/doc/rdoc/Log4r/formatter/log4jxmlformatter_rb.html +0 -64
  350. data/doc/rdoc/Log4r/formatter/patternformatter_rb.html +0 -239
  351. data/doc/rdoc/Log4r/lib/drbloader_rb.html +0 -57
  352. data/doc/rdoc/Log4r/lib/xmlloader_rb.html +0 -57
  353. data/doc/rdoc/Log4r/logevent_rb.html +0 -55
  354. data/doc/rdoc/Log4r/logger_rb.html +0 -293
  355. data/doc/rdoc/Log4r/loggerfactory_rb.html +0 -66
  356. data/doc/rdoc/Log4r/logserver_rb.html +0 -161
  357. data/doc/rdoc/Log4r/rdoc/GDC.html +0 -175
  358. data/doc/rdoc/Log4r/rdoc/MDC.html +0 -178
  359. data/doc/rdoc/Log4r/rdoc/NDC.html +0 -207
  360. data/doc/rdoc/Log4r/rdoc/configurator.html +0 -462
  361. data/doc/rdoc/Log4r/rdoc/emailoutputter.html +0 -279
  362. data/doc/rdoc/Log4r/rdoc/formatter.html +0 -218
  363. data/doc/rdoc/Log4r/rdoc/log4r.html +0 -286
  364. data/doc/rdoc/Log4r/rdoc/logger.html +0 -382
  365. data/doc/rdoc/Log4r/rdoc/logserver.html +0 -265
  366. data/doc/rdoc/Log4r/rdoc/outputter.html +0 -313
  367. data/doc/rdoc/Log4r/rdoc/patternformatter.html +0 -331
  368. data/doc/rdoc/Log4r/rdoc/syslogoutputter.html +0 -197
  369. data/doc/rdoc/Log4r/rdoc/win32eventoutputter.html +0 -165
  370. data/doc/rdoc/Log4r/rdoc/yamlconfigurator.html +0 -187
  371. data/doc/rdoc/Log4r/repository_rb.html +0 -74
  372. data/doc/rdoc/Log4r/staticlogger_rb.html +0 -55
  373. data/doc/rdoc/Log4r/yamlconfigurator_rb.html +0 -95
  374. data/doc/rdoc/REXML.html +0 -211
  375. data/doc/rdoc/created.rid +0 -1
  376. data/doc/rdoc/images/brick.png +0 -0
  377. data/doc/rdoc/images/brick_link.png +0 -0
  378. data/doc/rdoc/images/bug.png +0 -0
  379. data/doc/rdoc/images/bullet_black.png +0 -0
  380. data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
  381. data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
  382. data/doc/rdoc/images/date.png +0 -0
  383. data/doc/rdoc/images/find.png +0 -0
  384. data/doc/rdoc/images/loadingAnimation.gif +0 -0
  385. data/doc/rdoc/images/macFFBgHack.png +0 -0
  386. data/doc/rdoc/images/package.png +0 -0
  387. data/doc/rdoc/images/page_green.png +0 -0
  388. data/doc/rdoc/images/page_white_text.png +0 -0
  389. data/doc/rdoc/images/page_white_width.png +0 -0
  390. data/doc/rdoc/images/plugin.png +0 -0
  391. data/doc/rdoc/images/ruby.png +0 -0
  392. data/doc/rdoc/images/tag_green.png +0 -0
  393. data/doc/rdoc/images/wrench.png +0 -0
  394. data/doc/rdoc/images/wrench_orange.png +0 -0
  395. data/doc/rdoc/images/zoom.png +0 -0
  396. data/doc/rdoc/index.html +0 -585
  397. data/doc/rdoc/js/darkfish.js +0 -116
  398. data/doc/rdoc/js/jquery.js +0 -32
  399. data/doc/rdoc/js/quicksearch.js +0 -114
  400. data/doc/rdoc/js/thickbox-compressed.js +0 -10
  401. data/doc/rdoc/log4r-rdoc.css +0 -696
  402. data/doc/rdoc/log4r_rb.html +0 -207
  403. data/doc/rdoc/rdoc.css +0 -696
  404. data/src/log4r/outputter/rollingfileoutputter.rb +0 -131
@@ -1,12 +1,17 @@
1
+ $: << File.join("..","lib")
2
+ require "test/unit"
3
+ require "log4r"
4
+ include Log4r
1
5
 
2
- class TestOutputter < TestCase
6
+
7
+ class TestOutputter < Test::Unit::TestCase
3
8
  def test_validation
4
- assert_exception(ArgumentError) { Outputter.new }
5
- assert_exception(ArgumentError) { Outputter.new 'fonda', :level=>-10}
6
- assert_exception(TypeError) { Outputter.new 'fonda', :formatter=>-10}
9
+ assert_raise(ArgumentError) { Outputter.new }
10
+ assert_raise(ArgumentError) { Outputter.new 'fonda', :level=>-10}
11
+ assert_raise(TypeError) { Outputter.new 'fonda', :formatter=>-10}
7
12
  end
8
13
  def test_io
9
- assert_no_exception {
14
+ assert_nothing_raised {
10
15
  IOOutputter.new('foo3', $stdout)
11
16
  IOOutputter.new('foo4', $stderr)
12
17
  }
@@ -17,46 +22,46 @@ class TestOutputter < TestCase
17
22
  assert(o.level == OFF)
18
23
  end
19
24
  def test_repository
20
- assert( Outputter['foo3'].type == IOOutputter )
21
- assert( Outputter['foo4'].type == IOOutputter )
22
- assert( Outputter['asdf'].type == IOOutputter )
25
+ assert( Outputter['foo3'].class == IOOutputter )
26
+ assert( Outputter['foo4'].class == IOOutputter )
27
+ assert( Outputter['asdf'].class == IOOutputter )
23
28
  end
24
29
  def test_validation_and_creation
25
- assert_no_exception {
30
+ assert_nothing_raised {
26
31
  StdoutOutputter.new('out', 'level'=>DEBUG)
27
32
  FileOutputter.new('file', 'filename'=>'junk/test', :trunc=>true)
28
33
  }
29
34
  a = StdoutOutputter.new 'out2'
30
35
  assert(a.level == Logger.root.level)
31
- assert(a.formatter.type == DefaultFormatter)
36
+ assert(a.formatter.class == DefaultFormatter)
32
37
  b = StdoutOutputter.new('ook', :level => DEBUG, :formatter => Formatter)
33
38
  assert(b.level == DEBUG)
34
- assert(b.formatter.type == Formatter)
39
+ assert(b.formatter.class == Formatter)
35
40
  c = StdoutOutputter.new('akk', :formatter => Formatter)
36
41
  assert(c.level == Logger.root.level)
37
- assert(c.formatter.type == Formatter)
42
+ assert(c.formatter.class == Formatter)
38
43
  c = StderrOutputter.new('iikk', :level => OFF)
39
44
  assert(c.level == OFF)
40
- assert(c.formatter.type == DefaultFormatter)
45
+ assert(c.formatter.class == DefaultFormatter)
41
46
  o = StderrOutputter.new 'ik'
42
- assert_no_exception(TypeError) { o.formatter = DefaultFormatter }
43
- assert_equals(o.formatter.type, DefaultFormatter)
47
+ assert_nothing_raised(TypeError) { o.formatter = DefaultFormatter }
48
+ assert(o.formatter.class == DefaultFormatter)
44
49
  end
45
50
  # test the resource= bounds
46
51
  def test_boundaries
47
52
  o = StderrOutputter.new('ak', :formatter => Formatter)
48
- assert_exception(TypeError) { o.formatter = nil }
49
- assert_exception(TypeError) { o.formatter = String }
50
- assert_exception(TypeError) { o.formatter = "bogus" }
51
- assert_exception(TypeError) { o.formatter = -3 }
53
+ assert_raise(TypeError) { o.formatter = nil }
54
+ assert_raise(TypeError) { o.formatter = String }
55
+ assert_raise(TypeError) { o.formatter = "bogus" }
56
+ assert_raise(TypeError) { o.formatter = -3 }
52
57
  # the formatter should be preserved
53
- assert(o.formatter.type == Formatter)
58
+ assert(o.formatter.class == Formatter)
54
59
  end
55
60
  def test_file
56
- assert_exception(TypeError) { FileOutputter.new 'f' }
57
- assert_exception(TypeError) { FileOutputter.new('fa', :filename => DEBUG) }
58
- assert_exception(TypeError) { FileOutputter.new('fo', :filename => nil) }
59
- assert_no_exception {
61
+ assert_raise(TypeError) { FileOutputter.new 'f' }
62
+ assert_raise(TypeError) { FileOutputter.new('fa', :filename => DEBUG) }
63
+ assert_raise(TypeError) { FileOutputter.new('fo', :filename => nil) }
64
+ assert_nothing_raised {
60
65
  FileOutputter.new('fi', :filename => './junk/tmp')
61
66
  FileOutputter.new('fum', :filename=>'./junk/tmp', :trunc => "true")
62
67
  }
@@ -74,38 +79,54 @@ class TestOutputter < TestCase
74
79
  # test to see if all of the methods are defined
75
80
  for mname in LNAMES
76
81
  next if mname == 'OFF' || mname == 'ALL'
77
- assert_respond_to(mname.downcase, o, "Test respond to #{mname.to_s}")
82
+ assert_respond_to(o, mname.downcase.to_sym, "Test respond to #{mname.to_s}")
78
83
  end
79
84
  return # cuz the rest is borked
80
85
  # we rely on BasicFormatter's inability to reference a nil Logger to test
81
86
  # the log methods. Everything from WARN to FATAL should choke.
82
87
  event = LogEvent.new(nil, nil, nil, nil)
83
- assert_no_exception { o.debug event }
84
- assert_no_exception { o.info event }
85
- assert_exception(NameError) { o.warn event }
86
- assert_exception(NameError) { o.error event }
87
- assert_exception(NameError) { o.fatal event }
88
+ assert_nothing_raised { o.debug event }
89
+ assert_nothing_raised { o.info event }
90
+ assert_raise(NameError) { o.warn event }
91
+ assert_raise(NameError) { o.error event }
92
+ assert_raise(NameError) { o.fatal event }
88
93
  # now let's dynamically change the level and repeat
89
94
  o.level = ERROR
90
- assert_no_exception { o.debug event}
91
- assert_no_exception { o.info event}
92
- assert_no_exception { o.warn event}
93
- assert_exception(NameError) { o.error event}
94
- assert_exception(NameError) { o.fatal event}
95
+ assert_nothing_raised { o.debug event}
96
+ assert_nothing_raised { o.info event}
97
+ assert_nothing_raised { o.warn event}
98
+ assert_raise(NameError) { o.error event}
99
+ assert_raise(NameError) { o.fatal event}
95
100
  end
96
101
  def test_only_at_validation
97
102
  o = StdoutOutputter.new 'so2'
98
- assert_exception(ArgumentError) { o.only_at }
99
- assert_exception(ArgumentError) { o.only_at ALL }
100
- assert_exception(TypeError) { o.only_at OFF }
101
- assert_no_exception { o.only_at DEBUG, ERROR }
103
+ assert_raise(ArgumentError) { o.only_at }
104
+ assert_raise(ArgumentError) { o.only_at ALL }
105
+ assert_raise(TypeError) { o.only_at OFF }
106
+ assert_nothing_raised { o.only_at DEBUG, ERROR }
102
107
  return # cuz the rest is borked
103
108
  # test the methods as before
104
109
  event = LogEvent.new(nil,nil,nil,nil)
105
- assert_exception(NameError) { o.debug event}
106
- assert_exception(NameError) { o.error event}
107
- assert_no_exception { o.warn event}
108
- assert_no_exception { o.info event}
109
- assert_no_exception { o.fatal event}
110
+ assert_raise(NameError) { o.debug event}
111
+ assert_raise(NameError) { o.error event}
112
+ assert_nothing_raised { o.warn event}
113
+ assert_nothing_raised { o.info event}
114
+ assert_nothing_raised { o.fatal event}
115
+ end
116
+ def broken_test_threading
117
+ class << self
118
+ def log_work
119
+ o = StdoutOutputter.new 'so2'
120
+ assert_nothing_raised { o.only_at DEBUG, ERROR }
121
+ Thread.current().exit()
122
+ end
123
+ def log_thread_start
124
+ t = Thread.new(log_work)
125
+ t.join
126
+ end
127
+ end
128
+
129
+ ts = Thread.new(log_thread_start)
130
+ ts.join
110
131
  end
111
132
  end
@@ -1,4 +1,4 @@
1
- $: << File.join("..","src")
1
+ $: << File.join("..","lib")
2
2
  require "test/unit"
3
3
  require "log4r"
4
4
  include Log4r
@@ -11,7 +11,7 @@ class TestPatternFormatter < Test::Unit::TestCase
11
11
  o = StdoutOutputter.new 'test'
12
12
  l.add o
13
13
  assert_nothing_raised {
14
- f = PatternFormatter.new :pattern=> "%d %6l [%C]%c %% %-40.30M"
14
+ f = PatternFormatter.new :pattern=> "'%t' T-'%T' %d %6l [%C]%c %% %-40.30M"
15
15
  #:date_pattern=> "%Y"
16
16
  #:date_method => :usec
17
17
  Outputter['test'].formatter = f
@@ -1,4 +1,4 @@
1
- # $Id: testthreads.rb,v 1.3 2009/09/29 17:56:35 colbygk Exp $
1
+ # $Id$
2
2
  # Test guts sent in by chetreddy bug #27184
3
3
  #
4
4
  # Note: this test won't always catch a threading problem, as it
@@ -8,16 +8,28 @@
8
8
  # test.
9
9
  #
10
10
 
11
- class TestThreads < TestCase
11
+
12
+ $: << File.join("..","lib")
13
+
14
+ require "test/unit"
15
+ require 'log4r'
16
+ include Log4r
17
+
18
+ class TestThreads < Test::Unit::TestCase
19
+
20
+ NUMTHREADS = 1000
21
+
12
22
  def test_threads
13
- NUM_THREADS=2000
14
- assert_no_exception
15
- {
16
- (0..NUM_THREADS).map do |i|
17
- Thread.new do
18
- Thread.current[:logger] = Log4r::Logger.new "Hello #{i}"
19
- end
20
- end.each { |thr| thr.join }
21
- }
23
+
24
+ assert_nothing_raised do
25
+ (0..NUMTHREADS).map do |i|
26
+ Thread.new do
27
+ Thread.current[:logger] = Log4r::Logger.new "Hello #{i}"
28
+ Thread.current[:logger].outputters = [StdoutOutputter.new "log4r#{i}"]
29
+ Thread.current[:logger].outputters.each { |i| i.flush }
30
+ Thread.current.exit()
31
+ end
32
+ end.each do |thr| thr.join end
33
+ end
22
34
  end
23
35
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 7
9
- version: 1.1.7
8
+ - 8
9
+ version: 1.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Colby Gutierrez-Kraybill
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-12 00:00:00 -08:00
17
+ date: 2010-06-08 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -46,124 +46,225 @@ files:
46
46
  - doc/images/log4r-logo.png
47
47
  - doc/images/logo2.png
48
48
  - doc/log4r.css
49
- - doc/rdoc/created.rid
50
- - doc/rdoc/images/brick.png
51
- - doc/rdoc/images/brick_link.png
52
- - doc/rdoc/images/bug.png
53
- - doc/rdoc/images/bullet_black.png
54
- - doc/rdoc/images/bullet_toggle_minus.png
55
- - doc/rdoc/images/bullet_toggle_plus.png
56
- - doc/rdoc/images/date.png
57
- - doc/rdoc/images/find.png
58
- - doc/rdoc/images/loadingAnimation.gif
59
- - doc/rdoc/images/macFFBgHack.png
60
- - doc/rdoc/images/package.png
61
- - doc/rdoc/images/page_green.png
62
- - doc/rdoc/images/page_white_text.png
63
- - doc/rdoc/images/page_white_width.png
64
- - doc/rdoc/images/plugin.png
65
- - doc/rdoc/images/ruby.png
66
- - doc/rdoc/images/tag_green.png
67
- - doc/rdoc/images/wrench.png
68
- - doc/rdoc/images/wrench_orange.png
69
- - doc/rdoc/images/zoom.png
70
- - doc/rdoc/index.html
71
- - doc/rdoc/js/darkfish.js
72
- - doc/rdoc/js/jquery.js
73
- - doc/rdoc/js/quicksearch.js
74
- - doc/rdoc/js/thickbox-compressed.js
75
- - doc/rdoc/Log4r/base_rb.html
76
- - doc/rdoc/Log4r/BasicFormatter.html
77
- - doc/rdoc/Log4r/config_rb.html
78
- - doc/rdoc/Log4r/ConfigError.html
79
- - doc/rdoc/Log4r/Configurator.html
80
- - doc/rdoc/Log4r/configurator_rb.html
81
- - doc/rdoc/Log4r/DateFileOutputter.html
82
- - doc/rdoc/Log4r/DefaultFormatter.html
83
- - doc/rdoc/Log4r/EmailOutputter.html
84
- - doc/rdoc/Log4r/FileOutputter.html
85
- - doc/rdoc/Log4r/formatter/formatter_rb.html
86
- - doc/rdoc/Log4r/formatter/log4jxmlformatter_rb.html
87
- - doc/rdoc/Log4r/formatter/patternformatter_rb.html
88
- - doc/rdoc/Log4r/Formatter.html
89
- - doc/rdoc/Log4r/GDC.html
90
- - doc/rdoc/Log4r/GDC_rb.html
91
- - doc/rdoc/Log4r/IOOutputter.html
92
- - doc/rdoc/Log4r/lib/drbloader_rb.html
93
- - doc/rdoc/Log4r/lib/xmlloader_rb.html
94
- - doc/rdoc/Log4r/Log4jXmlFormatter.html
95
- - doc/rdoc/Log4r/Log4rConfig.html
96
- - doc/rdoc/Log4r/Log4rTools.html
97
- - doc/rdoc/Log4r/LogEvent.html
98
- - doc/rdoc/Log4r/logevent_rb.html
99
- - doc/rdoc/Log4r/Logger/LoggerFactory.html
100
- - doc/rdoc/Log4r/Logger/Repository.html
101
- - doc/rdoc/Log4r/Logger.html
102
- - doc/rdoc/Log4r/logger_rb.html
103
- - doc/rdoc/Log4r/loggerfactory_rb.html
104
- - doc/rdoc/Log4r/LogServer.html
105
- - doc/rdoc/Log4r/logserver_rb.html
106
- - doc/rdoc/Log4r/MDC.html
107
- - doc/rdoc/Log4r/MDC_rb.html
108
- - doc/rdoc/Log4r/NDC.html
109
- - doc/rdoc/Log4r/NDC_rb.html
110
- - doc/rdoc/Log4r/ObjectFormatter.html
111
- - doc/rdoc/Log4r/Outputter/consoleoutputters_rb.html
112
- - doc/rdoc/Log4r/Outputter/datefileoutputter_rb.html
113
- - doc/rdoc/Log4r/Outputter/emailoutputter_rb.html
114
- - doc/rdoc/Log4r/Outputter/fileoutputter_rb.html
115
- - doc/rdoc/Log4r/Outputter/iooutputter_rb.html
116
- - doc/rdoc/Log4r/Outputter/outputter_rb.html
117
- - doc/rdoc/Log4r/Outputter/OutputterFactory.html
118
- - doc/rdoc/Log4r/Outputter/outputterfactory_rb.html
119
- - doc/rdoc/Log4r/Outputter/remoteoutputter_rb.html
120
- - doc/rdoc/Log4r/Outputter/rollingfileoutputter_rb.html
121
- - doc/rdoc/Log4r/Outputter/staticoutputter_rb.html
122
- - doc/rdoc/Log4r/Outputter/syslogoutputter_rb.html
123
- - doc/rdoc/Log4r/Outputter/udpoutputter_rb.html
124
- - doc/rdoc/Log4r/Outputter.html
125
- - doc/rdoc/Log4r/PatternFormatter.html
126
- - doc/rdoc/Log4r/rdoc/configurator.html
127
- - doc/rdoc/Log4r/rdoc/emailoutputter.html
128
- - doc/rdoc/Log4r/rdoc/formatter.html
129
- - doc/rdoc/Log4r/rdoc/GDC.html
130
- - doc/rdoc/Log4r/rdoc/log4r.html
131
- - doc/rdoc/Log4r/rdoc/logger.html
132
- - doc/rdoc/Log4r/rdoc/logserver.html
133
- - doc/rdoc/Log4r/rdoc/MDC.html
134
- - doc/rdoc/Log4r/rdoc/NDC.html
135
- - doc/rdoc/Log4r/rdoc/outputter.html
136
- - doc/rdoc/Log4r/rdoc/patternformatter.html
137
- - doc/rdoc/Log4r/rdoc/syslogoutputter.html
138
- - doc/rdoc/Log4r/rdoc/win32eventoutputter.html
139
- - doc/rdoc/Log4r/rdoc/yamlconfigurator.html
140
- - doc/rdoc/Log4r/RemoteOutputter.html
141
- - doc/rdoc/Log4r/repository_rb.html
142
- - doc/rdoc/Log4r/RollingFileOutputter.html
143
- - doc/rdoc/Log4r/ROMPClient.html
144
- - doc/rdoc/Log4r/ROMPServer.html
145
- - doc/rdoc/Log4r/RootLogger.html
146
- - doc/rdoc/Log4r/SimpleFormatter.html
147
- - doc/rdoc/Log4r/staticlogger_rb.html
148
- - doc/rdoc/Log4r/StderrOutputter.html
149
- - doc/rdoc/Log4r/StdoutOutputter.html
150
- - doc/rdoc/Log4r/SyslogOutputter.html
151
- - doc/rdoc/Log4r/UDPOutputter.html
152
- - doc/rdoc/Log4r/YamlConfigurator.html
153
- - doc/rdoc/Log4r/yamlconfigurator_rb.html
154
- - doc/rdoc/log4r-rdoc.css
155
- - doc/rdoc/Log4r.html
156
- - doc/rdoc/log4r_rb.html
157
- - doc/rdoc/rdoc.css
158
- - doc/rdoc/REXML.html
159
49
  - doc/rdoc-log4r.css
160
50
  - doc/templates/main.html
51
+ - examples/ancestors.rb
161
52
  - examples/chainsaw_settings.xml
162
53
  - examples/customlevels.rb
163
54
  - examples/filelog.rb
164
55
  - examples/fileroll.rb
56
+ - examples/gmail.rb
57
+ - examples/gmail.yaml
165
58
  - examples/log4r_yaml.yaml
166
59
  - examples/logclient.rb
60
+ - examples/logs/TestSize000001.log
61
+ - examples/logs/TestSize000002.log
62
+ - examples/logs/TestSize000003.log
63
+ - examples/logs/TestSize000004.log
64
+ - examples/logs/TestSize000005.log
65
+ - examples/logs/TestSize000006.log
66
+ - examples/logs/TestSize000007.log
67
+ - examples/logs/TestSize000008.log
68
+ - examples/logs/TestSize000009.log
69
+ - examples/logs/TestSize000010.log
70
+ - examples/logs/TestSize000011.log
71
+ - examples/logs/TestSize000012.log
72
+ - examples/logs/TestSize000013.log
73
+ - examples/logs/TestSize000014.log
74
+ - examples/logs/TestSize000015.log
75
+ - examples/logs/TestSize000016.log
76
+ - examples/logs/TestSize000017.log
77
+ - examples/logs/TestSize000018.log
78
+ - examples/logs/TestSize000019.log
79
+ - examples/logs/TestSize000020.log
80
+ - examples/logs/TestSize000021.log
81
+ - examples/logs/TestSize000022.log
82
+ - examples/logs/TestSize000023.log
83
+ - examples/logs/TestSize000024.log
84
+ - examples/logs/TestSize000025.log
85
+ - examples/logs/TestSize000026.log
86
+ - examples/logs/TestSize000027.log
87
+ - examples/logs/TestSize000028.log
88
+ - examples/logs/TestSize000029.log
89
+ - examples/logs/TestSize000030.log
90
+ - examples/logs/TestSize000031.log
91
+ - examples/logs/TestSize000032.log
92
+ - examples/logs/TestSize000033.log
93
+ - examples/logs/TestSize000034.log
94
+ - examples/logs/TestSize000035.log
95
+ - examples/logs/TestSize000036.log
96
+ - examples/logs/TestSize000037.log
97
+ - examples/logs/TestSize000038.log
98
+ - examples/logs/TestSize000039.log
99
+ - examples/logs/TestSize000040.log
100
+ - examples/logs/TestSize000041.log
101
+ - examples/logs/TestSize000042.log
102
+ - examples/logs/TestSize000043.log
103
+ - examples/logs/TestSize000044.log
104
+ - examples/logs/TestSize000045.log
105
+ - examples/logs/TestSize000046.log
106
+ - examples/logs/TestSize000047.log
107
+ - examples/logs/TestSize000048.log
108
+ - examples/logs/TestSize000049.log
109
+ - examples/logs/TestSize000050.log
110
+ - examples/logs/TestSize000051.log
111
+ - examples/logs/TestSize000052.log
112
+ - examples/logs/TestSize000053.log
113
+ - examples/logs/TestSize000054.log
114
+ - examples/logs/TestSize000055.log
115
+ - examples/logs/TestSize000056.log
116
+ - examples/logs/TestSize000057.log
117
+ - examples/logs/TestSize000058.log
118
+ - examples/logs/TestSize000059.log
119
+ - examples/logs/TestSize000060.log
120
+ - examples/logs/TestSize000061.log
121
+ - examples/logs/TestSize000062.log
122
+ - examples/logs/TestSize000063.log
123
+ - examples/logs/TestSize000064.log
124
+ - examples/logs/TestSize000065.log
125
+ - examples/logs/TestSize000066.log
126
+ - examples/logs/TestSize000067.log
127
+ - examples/logs/TestSize000068.log
128
+ - examples/logs/TestSize000069.log
129
+ - examples/logs/TestSize000070.log
130
+ - examples/logs/TestSize000071.log
131
+ - examples/logs/TestSize000072.log
132
+ - examples/logs/TestSize000073.log
133
+ - examples/logs/TestSize000074.log
134
+ - examples/logs/TestSize000075.log
135
+ - examples/logs/TestSize000076.log
136
+ - examples/logs/TestSize000077.log
137
+ - examples/logs/TestSize000078.log
138
+ - examples/logs/TestSize000079.log
139
+ - examples/logs/TestSize000080.log
140
+ - examples/logs/TestSize000081.log
141
+ - examples/logs/TestSize000082.log
142
+ - examples/logs/TestSize000083.log
143
+ - examples/logs/TestSize000084.log
144
+ - examples/logs/TestSize000085.log
145
+ - examples/logs/TestSize000086.log
146
+ - examples/logs/TestSize000087.log
147
+ - examples/logs/TestSize000088.log
148
+ - examples/logs/TestSize000089.log
149
+ - examples/logs/TestSize000090.log
150
+ - examples/logs/TestSize000091.log
151
+ - examples/logs/TestSize000092.log
152
+ - examples/logs/TestSize000093.log
153
+ - examples/logs/TestSize000094.log
154
+ - examples/logs/TestSize000095.log
155
+ - examples/logs/TestSize000096.log
156
+ - examples/logs/TestSize000097.log
157
+ - examples/logs/TestSize000098.log
158
+ - examples/logs/TestSize000099.log
159
+ - examples/logs/TestSize000100.log
160
+ - examples/logs/TestSize000101.log
161
+ - examples/logs/TestSize000102.log
162
+ - examples/logs/TestSize000103.log
163
+ - examples/logs/TestSize000104.log
164
+ - examples/logs/TestSize000105.log
165
+ - examples/logs/TestSize000106.log
166
+ - examples/logs/TestSize000107.log
167
+ - examples/logs/TestSize000108.log
168
+ - examples/logs/TestSize000109.log
169
+ - examples/logs/TestSize000110.log
170
+ - examples/logs/TestSize000111.log
171
+ - examples/logs/TestSize000112.log
172
+ - examples/logs/TestSize000113.log
173
+ - examples/logs/TestSize000114.log
174
+ - examples/logs/TestSize000115.log
175
+ - examples/logs/TestSize000116.log
176
+ - examples/logs/TestSize000117.log
177
+ - examples/logs/TestSize000118.log
178
+ - examples/logs/TestSize000119.log
179
+ - examples/logs/TestSize000120.log
180
+ - examples/logs/TestSize000121.log
181
+ - examples/logs/TestSize000122.log
182
+ - examples/logs/TestSize000123.log
183
+ - examples/logs/TestSize000124.log
184
+ - examples/logs/TestSize000125.log
185
+ - examples/logs/TestSize000126.log
186
+ - examples/logs/TestSize000127.log
187
+ - examples/logs/TestSize000128.log
188
+ - examples/logs/TestSize000129.log
189
+ - examples/logs/TestSize000130.log
190
+ - examples/logs/TestSize000131.log
191
+ - examples/logs/TestSize000132.log
192
+ - examples/logs/TestSize000133.log
193
+ - examples/logs/TestSize000134.log
194
+ - examples/logs/TestSize000135.log
195
+ - examples/logs/TestSize000136.log
196
+ - examples/logs/TestSize000137.log
197
+ - examples/logs/TestSize000138.log
198
+ - examples/logs/TestSize000139.log
199
+ - examples/logs/TestSize000140.log
200
+ - examples/logs/TestSize000141.log
201
+ - examples/logs/TestSize000142.log
202
+ - examples/logs/TestSize000143.log
203
+ - examples/logs/TestSize000144.log
204
+ - examples/logs/TestSize000145.log
205
+ - examples/logs/TestSize000146.log
206
+ - examples/logs/TestSize000147.log
207
+ - examples/logs/TestSize000148.log
208
+ - examples/logs/TestSize000149.log
209
+ - examples/logs/TestSize000150.log
210
+ - examples/logs/TestSize000151.log
211
+ - examples/logs/TestSize000152.log
212
+ - examples/logs/TestSize000153.log
213
+ - examples/logs/TestSize000154.log
214
+ - examples/logs/TestSize000155.log
215
+ - examples/logs/TestSize000156.log
216
+ - examples/logs/TestSize000157.log
217
+ - examples/logs/TestSize000158.log
218
+ - examples/logs/TestSize000159.log
219
+ - examples/logs/TestSize000160.log
220
+ - examples/logs/TestSize000161.log
221
+ - examples/logs/TestSize000162.log
222
+ - examples/logs/TestSize000163.log
223
+ - examples/logs/TestSize000164.log
224
+ - examples/logs/TestSize000165.log
225
+ - examples/logs/TestSize000166.log
226
+ - examples/logs/TestSize000167.log
227
+ - examples/logs/TestSize000168.log
228
+ - examples/logs/TestSize000169.log
229
+ - examples/logs/TestSize000170.log
230
+ - examples/logs/TestSize000171.log
231
+ - examples/logs/TestSize000172.log
232
+ - examples/logs/TestSize000173.log
233
+ - examples/logs/TestSize000174.log
234
+ - examples/logs/TestSize000175.log
235
+ - examples/logs/TestSize000176.log
236
+ - examples/logs/TestSize000177.log
237
+ - examples/logs/TestSize000178.log
238
+ - examples/logs/TestSize000179.log
239
+ - examples/logs/TestSize000180.log
240
+ - examples/logs/TestSize000181.log
241
+ - examples/logs/TestSize000182.log
242
+ - examples/logs/TestSize000183.log
243
+ - examples/logs/TestSize000184.log
244
+ - examples/logs/TestSize000185.log
245
+ - examples/logs/TestSize000186.log
246
+ - examples/logs/TestSize000187.log
247
+ - examples/logs/TestTime000001.log
248
+ - examples/logs/TestTime000002.log
249
+ - examples/logs/TestTime000003.log
250
+ - examples/logs/TestTime000004.log
251
+ - examples/logs/TestTime000005.log
252
+ - examples/logs/TestTime000006.log
253
+ - examples/logs/TestTime000007.log
254
+ - examples/logs/TestTime000008.log
255
+ - examples/logs/TestTime000009.log
256
+ - examples/logs/TestTime000010.log
257
+ - examples/logs/TestTime000011.log
258
+ - examples/logs/TestTime000012.log
259
+ - examples/logs/TestTime000013.log
260
+ - examples/logs/TestTime000014.log
261
+ - examples/logs/TestTime000015.log
262
+ - examples/logs/TestTime000016.log
263
+ - examples/logs/TestTime000017.log
264
+ - examples/logs/TestTime000018.log
265
+ - examples/logs/TestTime000019.log
266
+ - examples/logs/TestTime000020.log
267
+ - examples/logs/TestTime000021.log
167
268
  - examples/logserver.rb
168
269
  - examples/moderate.xml
169
270
  - examples/moderateconfig.rb
@@ -177,51 +278,54 @@ files:
177
278
  - examples/syslogcustom.rb
178
279
  - examples/xmlconfig.rb
179
280
  - examples/yaml.rb
180
- - src/log4r/base.rb
181
- - src/log4r/config.rb
182
- - src/log4r/configurator.rb
183
- - src/log4r/formatter/formatter.rb
184
- - src/log4r/formatter/log4jxmlformatter.rb
185
- - src/log4r/formatter/patternformatter.rb
186
- - src/log4r/GDC.rb
187
- - src/log4r/lib/drbloader.rb
188
- - src/log4r/lib/xmlloader.rb
189
- - src/log4r/logevent.rb
190
- - src/log4r/logger.rb
191
- - src/log4r/loggerfactory.rb
192
- - src/log4r/logserver.rb
193
- - src/log4r/MDC.rb
194
- - src/log4r/NDC.rb
195
- - src/log4r/outputter/consoleoutputters.rb
196
- - src/log4r/outputter/datefileoutputter.rb
197
- - src/log4r/outputter/emailoutputter.rb
198
- - src/log4r/outputter/fileoutputter.rb
199
- - src/log4r/outputter/iooutputter.rb
200
- - src/log4r/outputter/outputter.rb
201
- - src/log4r/outputter/outputterfactory.rb
202
- - src/log4r/outputter/remoteoutputter.rb
203
- - src/log4r/outputter/rollingfileoutputter.rb
204
- - src/log4r/outputter/staticoutputter.rb
205
- - src/log4r/outputter/syslogoutputter.rb
206
- - src/log4r/outputter/udpoutputter.rb
207
- - src/log4r/rdoc/configurator
208
- - src/log4r/rdoc/emailoutputter
209
- - src/log4r/rdoc/formatter
210
- - src/log4r/rdoc/GDC
211
- - src/log4r/rdoc/log4r
212
- - src/log4r/rdoc/logger
213
- - src/log4r/rdoc/logserver
214
- - src/log4r/rdoc/MDC
215
- - src/log4r/rdoc/NDC
216
- - src/log4r/rdoc/outputter
217
- - src/log4r/rdoc/patternformatter
218
- - src/log4r/rdoc/syslogoutputter
219
- - src/log4r/rdoc/win32eventoutputter
220
- - src/log4r/rdoc/yamlconfigurator
221
- - src/log4r/repository.rb
222
- - src/log4r/staticlogger.rb
223
- - src/log4r/yamlconfigurator.rb
224
- - src/log4r.rb
281
+ - lib/log4r/base.rb
282
+ - lib/log4r/config.rb
283
+ - lib/log4r/configurator.rb
284
+ - lib/log4r/formatter/formatter.rb
285
+ - lib/log4r/formatter/log4jxmlformatter.rb
286
+ - lib/log4r/formatter/patternformatter.rb
287
+ - lib/log4r/GDC.rb
288
+ - lib/log4r/lib/drbloader.rb
289
+ - lib/log4r/lib/xmlloader.rb
290
+ - lib/log4r/logevent.rb
291
+ - lib/log4r/logger.rb
292
+ - lib/log4r/loggerfactory.rb
293
+ - lib/log4r/logserver.rb
294
+ - lib/log4r/MDC.rb
295
+ - lib/log4r/NDC.rb
296
+ - lib/log4r/outputter/consoleoutputters.rb
297
+ - lib/log4r/outputter/datefileoutputter.rb
298
+ - lib/log4r/outputter/emailoutputter.rb
299
+ - lib/log4r/outputter/fileoutputter.rb
300
+ - lib/log4r/outputter/iooutputter.rb
301
+ - lib/log4r/outputter/outputter.rb
302
+ - lib/log4r/outputter/outputterfactory.rb
303
+ - lib/log4r/outputter/remoteoutputter.rb
304
+ - lib/log4r/outputter/rollingfileoutputter.rb
305
+ - lib/log4r/outputter/staticoutputter.rb
306
+ - lib/log4r/outputter/syslogoutputter.rb
307
+ - lib/log4r/outputter/udpoutputter.rb
308
+ - lib/log4r/rdoc/configurator
309
+ - lib/log4r/rdoc/emailoutputter
310
+ - lib/log4r/rdoc/formatter
311
+ - lib/log4r/rdoc/GDC
312
+ - lib/log4r/rdoc/log4r
313
+ - lib/log4r/rdoc/logger
314
+ - lib/log4r/rdoc/logserver
315
+ - lib/log4r/rdoc/MDC
316
+ - lib/log4r/rdoc/NDC
317
+ - lib/log4r/rdoc/outputter
318
+ - lib/log4r/rdoc/patternformatter
319
+ - lib/log4r/rdoc/syslogoutputter
320
+ - lib/log4r/rdoc/win32eventoutputter
321
+ - lib/log4r/rdoc/yamlconfigurator
322
+ - lib/log4r/repository.rb
323
+ - lib/log4r/staticlogger.rb
324
+ - lib/log4r/yamlconfigurator.rb
325
+ - lib/log4r.rb
326
+ - tests/junk/test
327
+ - tests/junk/tmp
328
+ - tests/junk/tmpx.log
225
329
  - tests/README
226
330
  - tests/testall.rb
227
331
  - tests/testbase.rb
@@ -245,7 +349,7 @@ post_install_message:
245
349
  rdoc_options: []
246
350
 
247
351
  require_paths:
248
- - src
352
+ - lib
249
353
  required_ruby_version: !ruby/object:Gem::Requirement
250
354
  requirements:
251
355
  - - ">="