1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-16 04:02:05 +08:00

41 Commits

Author SHA1 Message Date
cb15a437ea broke up log file + logging env
IPFS_LOGGING now takes a logging.Level string

(no more "all") cc @whyrusleeping
2014-10-11 04:44:59 -07:00
a7b69500b1 address concerns in PR and make log stuff more fun 2014-10-10 13:18:20 -07:00
280c7e7e06 implement diagnostics service 2014-10-10 13:18:19 -07:00
972c0f7b4b u.DOut -> log.Debug
and other logging switches. I kept the u.PErr and u.POut in cli
commands, as those do need to write raw output directly.
2014-10-09 04:50:22 -07:00
31cc605c3a comment out debug msg 2014-10-08 14:49:21 -07:00
dc6fdd39c5 use encoded (pretty) keys only on fs ds 2014-10-08 14:49:04 -07:00
ffe2bdceef init SetupLoggers
this is useful so that loggers are all setup during tests
2014-10-08 02:50:42 -07:00
66839fa1de changed logging, in dht and elsewhere
- use log.* instead of u.*
- use automatic type conversions to .String()
  (Peer.String() prints nicely, and avoids calling b58 encoding
  until needed)
2014-10-07 21:33:59 -07:00
b98e48836f added u.Key.String 2014-10-07 21:32:17 -07:00
bdaee9bcb2 some performance tweaks for the dagwriter write path 2014-10-08 03:42:29 +00:00
5c802ae852 add more tests and rework a lot of utility structures 2014-10-07 05:55:28 +00:00
f3ae0e8e1b u.Hash - error
the u.Hash error can be safely ignored (panic) because multihash
only fails from the selection of hash function. If the fn + length
are valid, it won't error.

cc @whyrusleeping
2014-10-06 02:26:52 -07:00
c0250f3c8e bump logging to ERROR 2014-10-05 14:50:39 -07:00
a13baff33d fixed data size reporting 2014-10-05 01:22:01 +00:00
0c8ae7674e loggers: set level 2014-10-04 03:53:21 -07:00
7e1cd59259 initialize loggers at ERROR 2014-10-04 03:36:30 -07:00
612be59643 use string datastore keys. 2014-10-03 15:39:22 -07:00
4727535160 fixing mutability issues in ipns 2014-10-03 19:22:54 +00:00
aa79f38580 cleanup logging setup.
- should not be on init, because need debug flag
2014-10-01 02:02:48 -07:00
f085d594aa vendoring ipns things 2014-10-01 00:44:22 -07:00
54142b2173 update logging in multiple packages 2014-10-01 00:41:30 -07:00
6080944af9 writing files inside ipns works now! also implemented resolve cli command 2014-10-01 00:41:29 -07:00
ee3be129fc set util.ErrNotFound = ds.ErrNotFound 2014-09-26 23:37:36 -07:00
64ba4cd0df output + linting 2014-09-22 04:06:17 -07:00
c07578d6ab chore(util) rm unused DatastoreKey method 2014-09-22 04:05:20 -07:00
96ab834325 feat(util) add u.Key().ToDatastore() method 2014-09-22 04:05:15 -07:00
35a87e9d07 expand path names for add command, and pass errors up even more 2014-09-13 04:42:48 +00:00
7968b45e58 vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00
0fdc571554 POut should not have a newline 2014-08-20 18:29:31 -07:00
8a1fdbb83d rewrite message response listening framework 2014-08-15 22:37:53 -07:00
a43886245e more work implementing coral type lookups 2014-08-10 21:02:05 -07:00
ae6285e5a3 address issues from code review (issue #25) 2014-08-08 18:09:21 -07:00
bd9fc2b782 fix bug in routing table lookups 2014-08-07 06:21:44 -07:00
71c7c5844a providers interface is coming along nicely 2014-08-07 06:21:12 -07:00
8d98d4b48d making connections between nodes get closer to working 2014-08-07 06:21:11 -07:00
3444d41dce work on framework for dht message handling 2014-08-07 06:18:20 -07:00
f718bd6a92 go lint
link errors left:
- protocol buffers output is not lint-friendly
2014-07-22 02:20:08 -07:00
4e1c413e82 move tilde expnasion to util. 2014-07-05 17:34:44 -07:00
61ac7191c4 global hash func 2014-07-05 15:14:18 -07:00
4d80a2d214 key 2014-07-05 14:55:12 -07:00
69e92f939c util 2014-07-05 01:57:03 -07:00