Bug 864653 - Need a REST API to request the log directory of a cartridge
Summary: Need a REST API to request the log directory of a cartridge
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OKD
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
: 876721 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 20:57 UTC by chris alfonso
Modified: 2016-02-01 02:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-29 18:58:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description chris alfonso 2012-10-09 20:57:29 UTC
Description of problem:
Need a REST API to request the log directory of a cartridge.  Currently, we have to make an assumption on the location of the log directory.  Ideally, we would be able to look this up on a cartridge property.

Although there maybe be a property that contains the log directory of a cartridge, there is no way to know the property is the log directory.  For instance, the node-js cartridge has properties":[{"name":"OPENSHIFT_NODEJS_LOG_DIR","description":"Directory to store application log files.","type":"environment"}]  But we can't count on the existence of _LOG_ in the name to properly identify the environment variable.

Comment 1 Dan McPherson 2012-10-09 21:59:25 UTC
This should probably be a story.

Comment 2 Clayton Coleman 2012-10-15 14:48:46 UTC
The other option is for there to be a script on the node via SSH that aggregates the logs, and for the CLI to invoke that and stream its output.  Then users could tweak it on their gears.

Comment 3 Dan McPherson 2013-01-29 00:04:17 UTC
*** Bug 876721 has been marked as a duplicate of this bug. ***

Comment 4 Dan McPherson 2013-01-29 18:58:50 UTC
Created US3373 to track.


Note You need to log in before you can comment on or make changes to this bug.