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

Fn: 'log' is not a Fn Command #120

Closed
Arvinzhu opened this issue Oct 18, 2019 · 2 comments
Closed

Fn: 'log' is not a Fn Command #120

Arvinzhu opened this issue Oct 18, 2019 · 2 comments
Assignees
Labels
docfix Documentation fix required after Fn updates. MikeW's Queue In MikeW's Queue

Comments

@Arvinzhu
Copy link

I had read the command document file. But two questions haunts me:

  1. This command gets a 'call', 'configuration' or 'log' to retrieve information for an object ('app' or 'function').
    In this desciption, this command gets a 'call', 'configuration' or 'log',but when I run fn get log appname
    this result is Fn: 'log' is not a Fn Command
[root@node100 fn]# fn get --help
  fn get -   Get an object to retrieve its information
                            
USAGE
  fn [global options] get [command options] <subcommand>
    
DESCRIPTION
  This command gets a 'call', 'configuration' or 'log' to retrieve information for an object ('app' or 'function').
    
SUBCOMMANDS
  config, config, cf      Get configurations for apps and functions
  help, h                 Shows a list of commands or help for one command
                      
COMMAND OPTIONS
  --help, -h  show help

FURTHER HELP:  See 'fn get <subcommand> --help' for more information about a command.
  1. Who can tell me how to get the runtime log of apps and functions ?
@michael-w-williams
Copy link
Member

michael-w-williams commented Oct 18, 2019

@Arvinzhu Good catch on (1). I'll open an Issue to fix this against the CLI. Then close this issue. For (2), how logs work with Fn are covered here: https://github.com/fnproject/tutorials/tree/master/Troubleshooting#logs

@michael-w-williams michael-w-williams self-assigned this Oct 18, 2019
@michael-w-williams michael-w-williams added the docfix Documentation fix required after Fn updates. label Oct 18, 2019
@michael-w-williams michael-w-williams added the MikeW's Queue In MikeW's Queue label Oct 18, 2019
@michael-w-williams
Copy link
Member

@Arvinzhu You can track the fix here: fnproject/cli#600. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docfix Documentation fix required after Fn updates. MikeW's Queue In MikeW's Queue
Projects
None yet
Development

No branches or pull requests

2 participants