Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.

Story #286

closed

Pulp clients should not log to files

Added by rbarlow over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1175820 ++

Description of problem:

Description of problem:
pulp-admin and pulp-consumer log to files by default. This can cause concurrency issues if users run more than one command at a time. It's also inconvenient when there is an error, as the CLI tells the user "there was a problem, see the log" instead of just showing the user the error.

Most CLI programs offer -v and -vv flags. I propose that we do the same. The -v flag would cause all things that go to admin.log to go to the console. The -vv flag would do the same and also add in the server_calls.log. If the user wants these to go to files, they can use standard Unix shell redirection to accomplish that.

One exception is Exceptions ☺ We should print unexpected exceptions to the screen even in normal mode.

Version-Release number of selected component (if applicable):
2.4.0-1

How reproducible:
Every time.

Steps to Reproduce:
1. Do pulp-admin and pulp-consumer log to files?
2. Can you adjust the console verbosity?

Actual results:
No and no.

Expected results:
Yes and yes.


Related issues

Is duplicate of Pulp - Story #145: As a pulp-admin user, I would like logs to go to stderrCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Actions #1

Updated by bmbouter over 9 years ago

  • Is duplicate of Story #145: As a pulp-admin user, I would like logs to go to stderr added
Actions #2

Updated by bmbouter over 9 years ago

  • Subject changed from [RFE] Pulp clients should not log to files to Pulp clients should not log to files
  • Status changed from ASSIGNED to 7
Actions #3

Updated by bmbouter over 9 years ago

  • Status changed from 7 to CLOSED - DUPLICATE
Actions #4

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF