-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not found message. #27
Comments
I apologize. I code on OS X. logxi is using godo v2 which is currently on my machine and addresses issues with v1. I will be doing a release later this week. I just need to work on documentation. |
@mgutz ok thanks, I find the idea of logxi great, the only sad part is about trying some self-contained sample. I'm trying to run tests to check this, but some simple self-contained examples without any editing for compiling and running would be good. |
cd $GOPATH/src/github.com/mgutz/logxi/v1/cmd/demo
go run main.go
LOGXI=* go run main.go |
@mgutz ah, I'm sorry, as I got a callstack like the following:
I didn't notice the log at the top, and tought the sample was just broken. |
Do an update. I just updated about 15 minutes ago with a simpler default stack to remove logxi related entries. I didn't realize that was confusing people. You can also try |
@mgutz another down point I have about it is that it requires Go 1.3, which isn't available in Ubuntu 14.10 standard repositories. Because of this, at my job, I would need to convince the buddies to forget about distro defaults regarding Go. Not sure wheter I'll achieve this... But it's a good thing to do anyway. But in any case, if it worked on 1.2 it would be good too. You may be interested in adding requirements to README. Sorry for the off-topic. |
@mgutz just updated, is it expected to get this callstack?
|
Yes, those are all simulated errors from the demo. The error stack is raw. You have to use pretty if you want the runtime entries to be removed. |
I'm closing this. Please create a new issue on logxi if there are more issues. |
@mgutz Nice. About closing, this issue in truth is solely to warn about the empty |
You're right. I'll look into this before I release v2. |
@mgutz ok, just one more question. You're using gopkg.in for godo, but for logxi you're using a different kind of internal directory based versioning. And the package name not matching the import line looks non-conventional. Are you planning any change on that or you're just starting to adopt some new package pattern? |
I'm going with the simplest method and just using v1, v2 directories. The problem with gopkg.in is it doesn't work with subpackages unless I rewrite all my import paths. With subdirecotires, go get github.com/mgutz/logxi/v1 always works without a gopkg.in redirection. Seems like I'm back to subversion but it works. |
@mgutz Interesting! Just when I looked at this I thought about whether two possible improvements would work:
|
By the way, this pattern is rather different from what I see elsewhere, but if it works, ok, may be a better way out for versioning. |
If adopting |
Also, more in line with what you're already doing regarding subdirectory names. Having a packaged named |
Ah anyway, I guess |
Line main.go#L61 will just print "not found" since the
src
is tested to be empty.By the way, I'm trying to test logxi but "not found" is just what I'm getting on OS X. I believe godo may not be working on OS X.
The text was updated successfully, but these errors were encountered: