You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/11/23 17:19:16 UTC
[GitHub] [trafficcontrol] mitchell852 opened a new issue #5323: TODB/TO API: Remove log.level database column??
mitchell852 opened a new issue #5323:
URL: https://github.com/apache/trafficcontrol/issues/5323
## I'm submitting a ...
- improvement request (usability, performance, tech debt, etc.)
## Traffic Control components affected ...
<!-- delete all those that don't apply -->
- Traffic Ops
- Traffic Portal
## Current behavior:
When a Traffic Ops change (PUT, POST, DELETE) is made thru the API (the only sanctioned way to make TO changes), a change/audit log entry is written to the log table in _most_ cases. That change log entry includes a property called _LEVEL_ which it appears that 99% are set to API_CHANGE in the Go-implemented API which makes one wonder what is the purpose of this property anymore.
## New behavior:
Delete the log.level db column as it really serves no purpose from what I can tell.
## Minimal reproduction of the problem with instructions:
Perform a PUT, POST or DELETE via the API and observe the change/audit log entry found in the log table with level=API_CHANGE
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] rob05c commented on issue #5323: TODB/TO API: Remove or repurpose TO's log.level database column
Posted by GitBox <gi...@apache.org>.
rob05c commented on issue #5323:
URL: https://github.com/apache/trafficcontrol/issues/5323#issuecomment-733200985
It seems like we have a desire to not see certain changes in the UI.
+1 on using this field to filter.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org