Merge "ceph-osd: Log the script name, lineno and funcname"

This commit is contained in:
Zuul 2020-06-18 04:01:58 +00:00 committed by Gerrit Code Review
commit 017f16274d
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ limitations under the License.
*/}}
set -ex
export PS4='+${BASH_SOURCE:+$(basename ${BASH_SOURCE}):${LINENO}:}${FUNCNAME:+${FUNCNAME}():} '
: "${CRUSH_LOCATION:=root=default host=${HOSTNAME}}"
: "${OSD_PATH_BASE:=/var/lib/ceph/osd/${CLUSTER}}"

View File

@ -15,6 +15,7 @@ limitations under the License.
*/}}
set -ex
export PS4='+${BASH_SOURCE:+$(basename ${BASH_SOURCE}):${LINENO}:}${FUNCNAME:+${FUNCNAME}():} '
: "${CRUSH_LOCATION:=root=default host=${HOSTNAME}}"
: "${OSD_PATH_BASE:=/var/lib/ceph/osd/${CLUSTER}}"