Skip to content

Centralize time formatting in datastore log naming [specific ci=Group23-VIC-Machine-Service]#6818

Merged
zjs merged 2 commits intovmware:masterfrom
zjs:topic/log-name-timestamp
Nov 21, 2017
Merged

Centralize time formatting in datastore log naming [specific ci=Group23-VIC-Machine-Service]#6818
zjs merged 2 commits intovmware:masterfrom
zjs:topic/log-name-timestamp

Conversation

@zjs
Copy link
Member

@zjs zjs commented Nov 21, 2017

Refactor VCHLogger to ensure that time formatting is handled in a single location, for consistency.

Additionally, replace the time format string with a reference to the pre-defined constant.

Lastly, de-duplicate other information about log file naming.

(See also: #6665 (comment))

@zjs zjs added area/api The Vritual Container Host management API area/cli The Vritual Container Host management CLI (vic-machine) component/install kind/debt Problems that increase the cost of other work team/lifecycle labels Nov 21, 2017
@zjs zjs self-assigned this Nov 21, 2017
@zjs zjs force-pushed the topic/log-name-timestamp branch 2 times, most recently from bd393c4 to 4792260 Compare November 21, 2017 14:10
@zjs zjs changed the title Centralize time formatting in datastore log naming Centralize time formatting in datastore log naming [specific ci=Group23-VIC-Machine-Service] Nov 21, 2017
Copy link
Contributor

@mhagen-vmware mhagen-vmware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@zjs zjs force-pushed the topic/log-name-timestamp branch from 4792260 to 4edd7f9 Compare November 21, 2017 18:36
Refactor VCHLogger to ensure that time formatting is handled in a
single location, for consistency.

Additionally, replace the time format string with a reference to the
pre-defined constant.

Lastly, de-duplicate other constants related to log file naming.
@zjs zjs force-pushed the topic/log-name-timestamp branch from 328df94 to ec85ce8 Compare November 21, 2017 21:45
@zjs zjs merged commit dee8af4 into vmware:master Nov 21, 2017
@zjs zjs added this to the Sprint 21 Lifecycle milestone Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api The Vritual Container Host management API area/cli The Vritual Container Host management CLI (vic-machine) cla-not-required component/install kind/debt Problems that increase the cost of other work team/lifecycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants