Skip to content
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

[question] Are there any plans to enhance command pouch log? #1072

Closed
faycheng opened this issue Apr 8, 2018 · 2 comments
Closed

[question] Are there any plans to enhance command pouch log? #1072

faycheng opened this issue Apr 8, 2018 · 2 comments
Labels
areas/cli areas/log kind/panic kind/question all questions or confusion about this project

Comments

@faycheng
Copy link
Contributor

faycheng commented Apr 8, 2018

Ⅰ. Issue Description

Now, pouch log command is unavailable.

pouch logs c534fd
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xd7b820]

goroutine 1 [running]:
main.(*LogsCommand).runLogs(0xc42007fc80, 0xc42052e050, 0x1, 0x1, 0x0, 0x0)
	/tmp/pouchbuild/src/github.com/alibaba/pouch/cli/logs.go:71 +0xf0
main.(*LogsCommand).Init.func1(0xc4201e0d80, 0xc42052e050, 0x1, 0x1, 0x0, 0x0)
	/tmp/pouchbuild/src/github.com/alibaba/pouch/cli/logs.go:40 +0x48
github.com/alibaba/pouch/vendor/github.com/spf13/cobra.(*Command).execute(0xc4201e0d80, 0xc42052e020, 0x1, 0x1, 0xc4201e0d80, 0xc42052e020)
	/tmp/pouchbuild/src/github.com/alibaba/pouch/vendor/github.com/spf13/cobra/command.go:742 +0x48e
github.com/alibaba/pouch/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4201ef200, 0xd72881, 0xc4201ef200, 0xc42051def0)
	/tmp/pouchbuild/src/github.com/alibaba/pouch/vendor/github.com/spf13/cobra/command.go:827 +0x2e4
github.com/alibaba/pouch/vendor/github.com/spf13/cobra.(*Command).Execute(0xc4201ef200, 0xc4201e1680, 0xc4201e1680)
	/tmp/pouchbuild/src/github.com/alibaba/pouch/vendor/github.com/spf13/cobra/command.go:780 +0x2b
main.(*Cli).Run(0xc4201555e0, 0xfb5de0, 0xc42051f620)
	/tmp/pouchbuild/src/github.com/alibaba/pouch/cli/cli.go:78 +0x2f
main.main()
	/tmp/pouchbuild/src/github.com/alibaba/pouch/cli/main.go:49 +0x952

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added areas/cli areas/log kind/panic kind/question all questions or confusion about this project labels Apr 8, 2018
@allencloud
Copy link
Collaborator

Yes, it is in our plan. However, we have to say in legacy environment lots of applications in container would use an inner logagent or something like that to take over log management. So, we lowered the priority of pouch logs command. But repeat it again, logs command is in pouch's scope.
Do you have any thoughts on this? We are totally encouraging high qualified contributors would help pouch to make it work in pouch logs. @faycheng

@faycheng
Copy link
Contributor Author

faycheng commented Apr 8, 2018

hi, @allencloud , thanks a lot for your answer.
i am be glad to contribute to pouch, and i will try to make it work in the next few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/cli areas/log kind/panic kind/question all questions or confusion about this project
Projects
None yet
Development

No branches or pull requests

3 participants